summaryrefslogtreecommitdiff
path: root/helpers/lh_testroot
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_testroot')
-rwxr-xr-xhelpers/lh_testroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_testroot b/helpers/lh_testroot
index f213f86..3278007 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