Update nodemgmt-scripts.sh
This commit is contained in:
@@ -238,7 +238,13 @@ DELSITES(){
|
|||||||
echo ""
|
echo ""
|
||||||
echo -e -n "${idsCL[LightYellow]}Please select a site from above from above:${idsCL[Default]} "
|
echo -e -n "${idsCL[LightYellow]}Please select a site from above from above:${idsCL[Default]} "
|
||||||
read -n 2 selsite
|
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
|
if [ -z $action ] || [ "${action}" = "gui" ]; then
|
||||||
ENTER2CONTINUE
|
ENTER2CONTINUE
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user