Display information when using --skip-usb-check options
authorMichael Prokop <mika@grml.org>
Wed, 25 Feb 2015 08:59:44 +0000 (09:59 +0100)
committerMichael Prokop <mika@grml.org>
Wed, 25 Feb 2015 08:59:44 +0000 (09:59 +0100)
grml2usb

index d09e510..ce0bfd5 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -1668,6 +1668,7 @@ def handle_vfat(device):
             sys.exit(1)
 
     if options.skipusbcheck:
+        logging.info("Not checking for removable USB device as requested via option --skip-usb-check.")
         return
 
     if not os.path.isdir(device) and not check_for_usbdevice(device) and not options.force: