command "rcctl ls failed" exits with 1 if enabled daemon is not running, but there is no error
This commit is contained in:
parent
53e41977c8
commit
9465efd217
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue