diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index b752df9f..07056e5b 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -249,17 +249,16 @@ DELSITES(){ else while : do - echo -e -n "${idsCL[LightRed]}Are you sure you want to delete '${idsST[Bold]}${idsCL[Red]}${SITES[${selsite}]}{idsST[Reset]}${idsCL[LightRed]}'? [N/y]${idsCL[Default]} " + echo -e -n "${idsCL[LightRed]}Are you sure you want to delete '${idsST[Bold]}${idsCL[Red]}${SITES[${selsite}]}{idsST[Reset]}${idsCL[LightRed]}'? [y/N]${idsCL[Default]} " read -n 1 response echo "" if [[ $response =~ ^[Yy]$ ]]; then echo 'delete' - else - DELSITES - exit 0 - fi - + ENTER2CONTINUE + fi done + DELSITES + exit 0 fi if [ -z $action ] || [ "${action}" = "gui" ]; then ENTER2CONTINUE