Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-05 22:06:52 -06:00
parent 76ba79f5f5
commit 231247ffe0

View File

@@ -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