diff --git a/xCAT/postscripts/xcatlib.sh b/xCAT/postscripts/xcatlib.sh index d1a4d08a9..fe6febc63 100644 --- a/xCAT/postscripts/xcatlib.sh +++ b/xCAT/postscripts/xcatlib.sh @@ -493,7 +493,7 @@ function disableservice { if [ -n "$svcunit" ];then cmd="systemctl disable $svcunit" - elif [ -n "svcjob" ];then + elif [ -n "$svcjob" ];then cmd="update-rc.d -f $svcd remove" elif [ -n "$svcd" ];then command -v chkconfig >/dev/null 2>&1