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:
parent
b4d710e928
commit
929eb79ce7
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user