diff --git a/CHANGELOG b/CHANGELOG index d8ab059..6ff3e89 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -14,6 +14,8 @@ The **patch** part changes is incremented if multiple releases happen the same m ### Changed +* command "rcctl ls failed" exits with 1 if enabled daemon is not running, but there is no error + ### Fixed ### Removed diff --git a/dump-server-state.sh b/dump-server-state.sh index 61c60b6..0c22031 100644 --- a/dump-server-state.sh +++ b/dump-server-state.sh @@ -432,7 +432,7 @@ task_rcctl() { last_result=$(${rcctl_bin} ls failed > "${dump_dir}/rcctl-failed-services.txt") last_rc=$? - if [ ${last_rc} -eq 0 ]; then + if [ ${last_rc} -eq 0 ] || [ ${last_rc} -eq 1 ]; then debug "* failed services OK" else debug "* failed services ERROR"