summaryrefslogtreecommitdiff
path: root/scripts/build/testroot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/testroot')
-rwxr-xr-xscripts/build/testroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/testroot b/scripts/build/testroot
index 9c63b79b4..9b4f86c26 100755
--- a/scripts/build/testroot
+++ b/scripts/build/testroot
@@ -25,7 +25,7 @@ Read_conffiles config/all config/common config/bootstrap config/chroot config/bi
Set_defaults
# Checking user account
-if [ "$(${LB_ROOT_COMMAND} id -u)" -ne "0" ]
+if [ "$(id -u)" -ne "0" ]
then
Echo_error "need root privileges"
exit 1