Skip to content

Commit

Permalink
Provide log message for umounted device in cleanup()
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterluk committed Feb 19, 2014
1 parent 2700dd6 commit 1d3c9da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grml2usb
Expand Up @@ -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)

Expand Down

0 comments on commit 1d3c9da

Please sign in to comment.