From: Michael Prokop Date: Mon, 2 Mar 2009 18:29:23 +0000 (+0100) Subject: Slightly improve mount error message X-Git-Tag: v0.9.2~10 X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=6bde51b09eda2d85792b357fd6038cac5a0b3755 Slightly improve mount error message --- diff --git a/grml2usb b/grml2usb index 9ca8cfe..1f73336 100755 --- 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)