Update services.inc

This commit is contained in:
2023-11-18 19:25:31 -06:00
parent a4ec6d4265
commit f4e6413ab5

View File

@@ -129,7 +129,7 @@ SERVICE_MGMT(){
echo "NODETYPE=${SERVICE['nodetype']}"
echo "QUIET=${QUIET}"
if [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" == "" ]; 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