Update services.inc

This commit is contained in:
2025-06-30 18:37:45 -05:00
parent bebdb06e6c
commit f81a49c60e

View File

@@ -455,7 +455,7 @@ SERVICE_MGMT(){
echo
fi
if [ ${QUIET} -eq 0 ] && [ "${SERVICE['action']}" != "status" ]; then
echo -e "\n ${NCMD}"
echo -e "\n ${NCMD} systemctl is-active ${SERVICE['service']}) = active"
if [[ "enable,disable" = *"${SERVICE['action']}"* ]] || [ "${SERVICE['service']}" = "daemon-reload" ]; then
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
elif [[ "${srva}" = *".socket"* ]] && [ "$(${NCMD} systemctl is-active ${SERVICE['service']})" = "active" ]; then