diff --git a/inc/services.inc b/inc/services.inc index d61de6b8..9b760a0e 100755 --- a/inc/services.inc +++ b/inc/services.inc @@ -169,7 +169,7 @@ SERVICE_MGMT(){ # echo "NODETYPE=${SERVICE['nodetype']}" # echo "QUIET=${QUIET}" - if [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" == "" ] && [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" != "ALL" ]; then + if [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" ] && [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" != "ALL" ]; then echo -e "${idsCL[Red]}"${SERVICE['service']}" is an unknown Service.${idsCL[Default]}" exit 1 fi