X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=grml2usb;h=7cc07c37523ca107d852a15bccefc7d49cd348d5;hb=fa60c0972f333c8f819b8f0bd8b081ec7da13410;hp=42362d6a879039f5a14762d6d571627c46b80998;hpb=904acb531e17ea1900c9a8300591ba222d521c7e;p=grml2usb.git diff --git a/grml2usb b/grml2usb index 42362d6..7cc07c3 100755 --- a/grml2usb +++ b/grml2usb @@ -1630,7 +1630,7 @@ def handle_vfat(device): logging.critical("Execution failed: %s", error) sys.exit(1) - if not check_for_usbdevice(device) and not os.path.isdir(device): + if not os.path.isdir(device) and not check_for_usbdevice(device): print "Warning: the specified device %s does not look like a removable usb device." % device f = raw_input("Do you really want to continue? y/N ") if f == "y" or f == "Y":