diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 6b7ccc5..a4a3809 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1269,11 +1269,13 @@ __check_services_systemd() { fi servicename=$1 - echodebug "Checking if ${servicename} is enabled" + echodebug "Checking if service ${servicename} is enabled" if [ "$(systemctl is-enabled ${servicename})" = "enabled" ]; then + echodebug "Service ${servicename} is enabled" return 0 else + echodebug "Service ${servicename} is NOT enabled" return 1 fi } # ---------- end of function __check_services_systemd ----------