Turning 'no supported filesystem images found' into a panic message, rather than...
authorDaniel Baumann <daniel@debian.org>
Sun, 23 Nov 2008 17:10:41 +0000 (18:10 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:03 +0000 (17:48 +0100)
scripts/live

index 9c75f74..c0e59a8 100755 (executable)
@@ -570,7 +570,7 @@ mount_images_in_directory ()
                [ -n "${mac}" ] && adddirectory="${directory}/${LIVE_MEDIA_PATH}/${mac}"
                setup_unionfs "${directory}/${LIVE_MEDIA_PATH}" "${rootmnt}" "${adddirectory}"
        else
-               log_warning_msg "Error: no filesystem images found at /${LIVE_MEDIA_PATH}."
+               panic "No supported filesystem images found at /${LIVE_MEDIA_PATH}."
        fi
 }