mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-03 18:41:29 +02:00
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:
committed by
Michael Tremer
parent
f4a91e23d9
commit
df7f30a146
2
make.sh
2
make.sh
@@ -416,7 +416,7 @@ prepareenv() {
|
|||||||
|
|
||||||
# Checking if running as root user
|
# Checking if running as root user
|
||||||
if [ $(id -u) -ne 0 ]; then
|
if [ $(id -u) -ne 0 ]; then
|
||||||
exiterror "Not building as root"
|
exiterror "root privileges required for building"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Checking for necessary temporary space
|
# Checking for necessary temporary space
|
||||||
|
|||||||
Reference in New Issue
Block a user