From 4ca5938c4a722e954edc304d4810c6fc4eab2e64 Mon Sep 17 00:00:00 2001 From: XuWei Date: Thu, 28 Apr 2016 02:43:24 -0400 Subject: [PATCH] Fix issue 437, go to next state when exit shell --- xCAT-genesis-scripts/bin/doxcat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-genesis-scripts/bin/doxcat b/xCAT-genesis-scripts/bin/doxcat index 3ff63d83f..0042673b5 100755 --- a/xCAT-genesis-scripts/bin/doxcat +++ b/xCAT-genesis-scripts/bin/doxcat @@ -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}'`