From 6bde51b09eda2d85792b357fd6038cac5a0b3755 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 2 Mar 2009 19:29:23 +0100 Subject: [PATCH] Slightly improve mount error message --- grml2usb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.1.4