From: Michael Prokop Date: Mon, 2 Mar 2009 14:59:06 +0000 (+0100) Subject: Check for FAT16 only when using --syslinux X-Git-Tag: v0.9.2~21 X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=5d877d1457fee1880ab83b819d146621bc2f75b9;hp=b8cb015cadab144a600913f83042af4f48257b33 Check for FAT16 only when using --syslinux --- diff --git a/grml2usb b/grml2usb index 3bcaee8..cdeaa03 100755 --- a/grml2usb +++ b/grml2usb @@ -881,7 +881,7 @@ def check_for_fat(partition): raise CriticalException("Failed to read device %s" " (wrong UID/permissions or device not present?)" % partition) - if filesystem != "vfat": + if options.syslinux and filesystem != "vfat": raise CriticalException("Partition %s does not contain a FAT16 filesystem. (Use --fat16 or run mkfs.vfat %s)" % (partition, partition)) except OSError: