[arch-projects] [mkinitcpio][PATCH 12/26] mkinitcpio: fix whitespace errors in error messages

Dave Reisner d at falconindy.com
Mon Sep 26 21:22:13 EDT 2011


Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 mkinitcpio |    4 ++--
 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"
-- 
1.7.6.4



More information about the arch-projects mailing list