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."
|
# error "qemu-user-static package is needed."
|
||||||
# exit ${ERR_DEPENDENCY_MISSING}
|
# exit ${ERR_DEPENDENCY_MISSING}
|
||||||
#fi
|
#fi
|
||||||
#if [ 0 -ne $(id -u) ]; then
|
if [ 0 -ne $(id -u) ]; then
|
||||||
# error "Script need to be run as root."
|
error "Script need to be run as root."
|
||||||
# exit ${ERR_NOT_ROOT}
|
exit ${ERR_NOT_ROOT}
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
SOURCE_PATH="$(/bin/dirname "$(readlink -f "${0}")")"
|
SOURCE_PATH="$(/bin/dirname "$(readlink -f "${0}")")"
|
||||||
INSTALL_PATH="$(pwd)/build"
|
INSTALL_PATH="$(pwd)/build"
|
||||||
|
Reference in New Issue
Block a user