summaryrefslogtreecommitdiff
path: root/contrib/pacscripts.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pacscripts.sh.in')
-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 "$@"