projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45d274c
)
Slightly improve mount error message
author
Michael Prokop
<mika@grml.org>
Mon, 2 Mar 2009 18:29:23 +0000
(19:29 +0100)
committer
Michael Prokop
<mika@grml.org>
Mon, 2 Mar 2009 18:29:23 +0000
(19:29 +0100)
grml2usb
patch
|
blob
|
history
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:
- 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)