summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/pacscripts.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pacscripts.sh.in b/contrib/pacscripts.sh.in
index 8453f9c8..da7c55a9 100644
--- a/contrib/pacscripts.sh.in
+++ b/contrib/pacscripts.sh.in
@@ -71,8 +71,8 @@ spacman() {
pacman "$@"
else
if ! type -p sudo; then
- error "Cannot find the sudo binary! Is sudo installed?"
- error "Otherwise, try to run the program as root"
+ error "Cannot find the sudo binary!"
+ error "${myname} requires root privileges. Either install \"sudo\" or run as root."
exit 1
else
sudo pacman "$@"