diff options
author | Daniel Baumann <daniel@debian.org> | 2013-02-18 11:29:04 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:06 +0200 |
commit | 04cec317cc4437eed514f4277f6779010e587662 (patch) | |
tree | 16e00a5358affa5a5b906f2c0d3f38d628ab0b2e /scripts/build/testroot | |
parent | 3f3d05b2e654a4ec312cb121c991b8c010bf3db1 (diff) | |
download | vyos-live-build-04cec317cc4437eed514f4277f6779010e587662.tar.gz vyos-live-build-04cec317cc4437eed514f4277f6779010e587662.zip |
Removing incomplete support for root-command.
Diffstat (limited to 'scripts/build/testroot')
-rwxr-xr-x | scripts/build/testroot | 2 |
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 |