]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
improve error message if make.sh is executed by non-root user
authorPeter Müller <peter.mueller@link38.eu>
Mon, 23 Apr 2018 14:17:00 +0000 (16:17 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 24 Apr 2018 10:13:56 +0000 (11:13 +0100)
Fixes #11706.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index 510fb2cc859b2f3c412b47cd223915cb0b7d86e3..1f87386659cdbfb27368573221599f8c3882cf65 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -416,7 +416,7 @@ prepareenv() {
 
        # Checking if running as root user
        if [ $(id -u) -ne 0 ]; then
-                       exiterror "Not building as root"
+                       exiterror "root privileges required for building"
        fi
 
        # Checking for necessary temporary space