Update services.inc

This commit is contained in:
2025-07-05 19:14:26 -05:00
parent 5de6ef15cd
commit 74e36cb5cc

View File

@@ -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