Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-05 21:52:54 -06:00
parent 2f7fd629b6
commit 42f9de2ce1

View File

@@ -238,7 +238,13 @@ DELSITES(){
echo ""
echo -e -n "${idsCL[LightYellow]}Please select a site from above from above:${idsCL[Default]} "
read -n 2 selsite
echo $selsite
echo ""
if [ -z ${SITES[$selsite]} ]; then
echo "Thats an invaild option,"
echo "please select a valid option only."
DELSITES
exit 0
fi
if [ -z $action ] || [ "${action}" = "gui" ]; then
ENTER2CONTINUE
fi