Provide log message for umounted device in cleanup()
authorLukas Prokop <admin@lukas-prokop.at>
Wed, 19 Feb 2014 22:50:55 +0000 (23:50 +0100)
committerLukas Prokop <admin@lukas-prokop.at>
Wed, 19 Feb 2014 22:53:54 +0000 (23:53 +0100)
grml2usb

index da6bfe0..93b1d11 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -173,6 +173,7 @@ def cleanup():
     for device in MOUNTED:
         try:
             unmount(device, "")
+            logging.debug('Unmounted %s' % device)
         except RuntimeError:
             logging.debug('RuntimeError while umount %s, ignoring' % device)