diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-24 08:47:42 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:27 +0100 |
commit | f2734daf0a9519db6b303683d3ac413a20d56e2a (patch) | |
tree | 6d9d0c85e7141243e0b40adcd847d1cc7c479448 /helpers/lh_testroot | |
parent | 81a76d4adc812c16be8238fedda25bd43ab3a379 (diff) | |
download | vyos-live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz vyos-live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip |
Replacing backticks with POSIX expression.
Diffstat (limited to 'helpers/lh_testroot')
-rwxr-xr-x | helpers/lh_testroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_testroot b/helpers/lh_testroot index f213f86c1..327800759 100755 --- a/helpers/lh_testroot +++ b/helpers/lh_testroot @@ -34,7 +34,7 @@ Read_conffile "${LH_CONFIG}" Set_defaults # Checking user account -if [ "`${LH_ROOT_COMMAND} id -u`" -ne "0" ] +if [ "$(${LH_ROOT_COMMAND} id -u)" -ne "0" ] then Echo_error "need root privileges" exit 1 |