Update nodemgmt-scripts.sh
This commit is contained in:
@@ -247,7 +247,19 @@ DELSITES(){
|
||||
elif [ "${selsite}" = "Q" ] || [ "${selsite}" = "q" ]; then
|
||||
exit 0
|
||||
else
|
||||
echo "delete ${SITES[${selsite}]}"
|
||||
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]} "
|
||||
read -n 1 response
|
||||
echo ""
|
||||
if [[ $response =~ ^[Yy]$ ]]; then
|
||||
|
||||
else
|
||||
DELSITES
|
||||
exit 0
|
||||
fi
|
||||
|
||||
done
|
||||
fi
|
||||
if [ -z $action ] || [ "${action}" = "gui" ]; then
|
||||
ENTER2CONTINUE
|
||||
|
||||
Reference in New Issue
Block a user