projects
/
grml2usb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Slightly improve mount error message
[grml2usb.git]
/
grml2usb
diff --git
a/grml2usb
b/grml2usb
index
9ca8cfe
..
1f73336
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-841,7
+841,7
@@
def mount(source, target, mount_options):
proc = subprocess.Popen(["mount"] + list(mount_options) + [source, target])
proc.wait()
if proc.returncode != 0:
proc = subprocess.Popen(["mount"] + list(mount_options) + [source, target])
proc.wait()
if proc.returncode != 0:
- raise CriticalException("Error executing mount")
+ raise CriticalException("Error executing mount
(no filesystem on the partition?)
")
else:
logging.debug("register_mountpoint(%s)" % target)
register_mountpoint(target)
else:
logging.debug("register_mountpoint(%s)" % target)
register_mountpoint(target)