X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=grml2usb;h=7e91839022568bc6d1c405f6be1a7fdc212352a0;hb=7f9c07b41d2af167b77e013584e6cc64c90dd98f;hp=3bd1eced4d5e7d31aab152e012b4ce4f49e3ff92;hpb=61d88d5722a4c6c534d6173a014b5ec1867ea028;p=grml2usb.git diff --git a/grml2usb b/grml2usb index 3bd1ece..7e91839 100755 --- a/grml2usb +++ b/grml2usb @@ -21,7 +21,7 @@ import glob import uuid # global variables -PROG_VERSION = "0.9.22pre" +PROG_VERSION = "0.9.22" MOUNTED = set() # register mountpoints TMPFILES = set() # register tmpfiles DATESTAMP = time.mktime(datetime.datetime.now().timetuple()) # unique identifier for syslinux.cfg @@ -1858,7 +1858,7 @@ def handle_vfat(device): logging.critical("Execution failed: %s", error) sys.exit(1) - if not os.path.isdir(device) and not check_for_usbdevice(device): + if not os.path.isdir(device) and not check_for_usbdevice(device) and not option.force: 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":