From f2734daf0a9519db6b303683d3ac413a20d56e2a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 24 Sep 2007 08:47:42 +0200 Subject: Replacing backticks with POSIX expression. --- helpers/lh_testroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers/lh_testroot') 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 -- cgit v1.2.3