Do not "exit" if boot option nonetworking is set but "return" instead
[live-boot-grml.git] / debian / patches / 34_ignore_unknown_filesystems.patch
index d269d0b..786f70a 100644 (file)
@@ -1,11 +1,11 @@
---- a/scripts/live-helpers
-+++ b/scripts/live-helpers
-@@ -507,6 +507,12 @@
+--- a/scripts/boot/9990-misc-helpers.sh
++++ b/scripts/boot/9990-misc-helpers.sh
+@@ -491,6 +491,12 @@
                return 1
        fi
  
-+      # get_fstype might report "unknown", ignore it as no such kernel module exists
-+      if [ "${fstype}" = "unknown" ]
++      # get_fstype might report "unknown" or "swap", ignore it as no such kernel module exists
++      if [ "${fstype}" = "unknown" ] || [ "${fstype}" = "swap" ]
 +      then
 +              return 1
 +      fi