2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

Merge pull request #994 from xuweibj/I437

Fix issue 437, go to next state when exit shell
This commit is contained in:
Xiaopeng Wang 2016-04-28 16:44:53 +08:00
commit 46c9a6ac3b

View File

@ -283,10 +283,11 @@ while :; do
destiny=''
dest=''
elif [ "$dest" = shell ]; then
echo "Dropping to debug shell, exit to check for further action"
echo "Dropping to debug shell, exit to run next destiny"
destiny=''
dest=''
/bin/bash
/bin/nextdestiny $XCATMASTER:$XCATPORT
elif [ "$dest" = runcmd ]; then
destiny=`/bin/nextdestiny $XCATMASTER:$XCATPORT`
dest=`echo $destiny|awk -F= '{print $1}'`