From 5d877d1457fee1880ab83b819d146621bc2f75b9 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 2 Mar 2009 15:59:06 +0100 Subject: [PATCH] Check for FAT16 only when using --syslinux --- grml2usb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.1.4