This commit is contained in:
2025-07-05 19:18:57 -05:00
parent de51866474
commit 015a0405f1
2 changed files with 2 additions and 2 deletions

View File

@@ -170,7 +170,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