Update services.inc
This commit is contained in:
@@ -129,7 +129,7 @@ SERVICE_MGMT(){
|
|||||||
echo "NODETYPE=${SERVICE['nodetype']}"
|
echo "NODETYPE=${SERVICE['nodetype']}"
|
||||||
echo "QUIET=${QUIET}"
|
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]}"
|
echo -e "${idsCL[Red]}"${SERVICE['service']}" is an unknown Service.${idsCL[Default]}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user