2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-24 15:05:36 +00:00

Fix issue 437, go to next state when exit shell

This commit is contained in:
XuWei
2016-04-28 02:43:24 -04:00
parent dff6e7b7f7
commit 4ca5938c4a

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}'`