Update nodemgmt-scripts.sh

This commit is contained in:
2023-12-12 09:09:20 -06:00
parent e05c11473f
commit 8783e0edee

View File

@@ -735,7 +735,7 @@ DOWNLIST(){
}
MAINTENANCE_MODE(){
if [ "${NM_NODETYPES[${1^^}]}" != "" ]; then
if [ "${1}" ] && [ "${NM_NODETYPES[${1^^}]}" != "" ]; then
ntss=${1^^}
ntypesel=(${ntss})
STATUS_ACTION=${2}