From: Lukas Prokop Date: Wed, 19 Feb 2014 22:50:55 +0000 (+0100) Subject: Provide log message for umounted device in cleanup() X-Git-Tag: v0.14.4~4 X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=1d3c9dab80aa6b80764e852865d5e224f6548fd3 Provide log message for umounted device in cleanup() --- diff --git a/grml2usb b/grml2usb index da6bfe0..93b1d11 100755 --- 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)