2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Add a new return code 17, for activating

This commit is contained in:
GONG Jie 2019-05-09 16:18:20 +08:00
parent b4d710e928
commit 929eb79ce7

View File

@ -549,6 +549,8 @@ function checkservicestatus {
retcode=1
elif echo $output|grep -E -i "^failed$";then
retcode=2
elif echo $output|grep -E -i "^activating$";then
retcode=17
fi
elif [ -n "$svcjob" ];then
output=$(initctl status $svcjob)