34_ignore_unknown_filesystems.patch: also ignore fstype swap
authorMichael Prokop <mika@grml.org>
Mon, 28 May 2012 10:26:24 +0000 (12:26 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 28 May 2012 10:26:24 +0000 (12:26 +0200)
debian/patches/34_ignore_unknown_filesystems.patch

index d269d0b..fd66536 100644 (file)
@@ -4,8 +4,8 @@
                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