[pacman-dev] [PATCH] Fix double spaces in "Running %s as root is not allowed" message

tredaelli at archlinux.info tredaelli at archlinux.info
Fri Dec 19 13:22:27 UTC 2014


From: Timothy Redaelli <timothy.redaelli at gmail.com>

---
 scripts/makepkg.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 33dff245..b4577f10 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -3435,7 +3435,7 @@ CARCH=${_CARCH:-$CARCH}
 if (( ! INFAKEROOT )); then
 	if (( EUID == 0 )); then
 		error "$(gettext "Running %s as root is not allowed as it can cause permanent,\n\
-catastrophic damage to your system.")"
+catastrophic damage to your system.")" "$0"
 		exit 1 # $E_USER_ABORT
 	fi
 else
-- 
2.2.0


More information about the pacman-dev mailing list