reactivated test of root user
This commit is contained in:
parent
895688d085
commit
c5531c36c3
@ -733,10 +733,10 @@ info ${0}
|
||||
# error "qemu-user-static package is needed."
|
||||
# exit ${ERR_DEPENDENCY_MISSING}
|
||||
#fi
|
||||
#if [ 0 -ne $(id -u) ]; then
|
||||
# error "Script need to be run as root."
|
||||
# exit ${ERR_NOT_ROOT}
|
||||
#fi
|
||||
if [ 0 -ne $(id -u) ]; then
|
||||
error "Script need to be run as root."
|
||||
exit ${ERR_NOT_ROOT}
|
||||
fi
|
||||
|
||||
SOURCE_PATH="$(/bin/dirname "$(readlink -f "${0}")")"
|
||||
INSTALL_PATH="$(pwd)/build"
|
||||
|
Reference in New Issue
Block a user