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:
commit
46c9a6ac3b
@ -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}'`
|
||||
|
Loading…
x
Reference in New Issue
Block a user