summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-18 14:35:38 +0200
committerDave Reisner <dreisner@archlinux.org>2011-09-27 12:18:04 +0200
commit1d7411e22a89da4aa57480fe6420d5dbfb2eca90 (patch)
treec2ed8d6497bdb39da7e0069a862854e6321f685f
parent0cf23b50857da57971e4bf063ba3cf5bb2cf5477 (diff)
downloadmkinitcpio-1d7411e22a89da4aa57480fe6420d5dbfb2eca90.tar.gz
mkinitcpio-1d7411e22a89da4aa57480fe6420d5dbfb2eca90.tar.xz
mkinitcpio: fix whitespace errors in error messages
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-xmkinitcpio4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkinitcpio b/mkinitcpio
index dd67030..98bea64 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -246,7 +246,7 @@ if [[ $GENIMG ]]; then
fi
if [[ ! -f "$CONFIG" ]]; then
- die "Config file does not exist: \`%s'" " $CONFIG"
+ die "Config file does not exist: \`%s'" "$CONFIG"
fi
. "$CONFIG"
@@ -356,7 +356,7 @@ if [[ "${GENIMG}" ]]; then
fi
if [[ $errmsg ]]; then
- error "Image generation FAILED: %s\n" "$errmsg"
+ error "Image generation FAILED: %s" "$errmsg"
status=1
else
msg "Image generation successful"