Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user