Fix logging message if operating on a directory
authorMichael Prokop <mika@grml.org>
Tue, 11 Sep 2012 11:34:38 +0000 (13:34 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 11 Sep 2012 11:34:38 +0000 (13:34 +0200)
grml2usb

index 77e72ad..76562dd 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -1459,7 +1459,7 @@ def install_grml(mountpoint, device):
 
     device_mountpoint = device
     if os.path.isdir(device):
 
     device_mountpoint = device
     if os.path.isdir(device):
-        logging.info("Specified device is not a directory, therefore not mounting.")
+        logging.info("Specified device is a directory, therefore not mounting.")
         remove_device_mountpoint = False
     else:
         device_mountpoint = tempfile.mkdtemp(prefix="grml2usb")
         remove_device_mountpoint = False
     else:
         device_mountpoint = tempfile.mkdtemp(prefix="grml2usb")