improve error message if make.sh is executed by non-root user

Fixes #11706.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Peter Müller
2018-04-23 16:17:00 +02:00
committed by Michael Tremer
parent f4a91e23d9
commit df7f30a146

View File

@@ -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