Compare commits

...

2 commits

2 changed files with 8 additions and 2 deletions

View file

@ -20,6 +20,12 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Security ### Security
## [23.06] 2023-06-05
### Changed
* command "rcctl ls failed" exits with 1 if enabled daemon is not running, but there is no error
## [23.03] 2023-03-16 ## [23.03] 2023-03-16
### Added ### Added

View file

@ -3,7 +3,7 @@
PROGNAME="dump-server-state" PROGNAME="dump-server-state"
REPOSITORY="https://gitea.evolix.org/evolix/dump-server-state" REPOSITORY="https://gitea.evolix.org/evolix/dump-server-state"
VERSION="23.03" VERSION="23.06"
readonly VERSION readonly VERSION
dump_dir= dump_dir=
@ -432,7 +432,7 @@ task_rcctl() {
last_result=$(${rcctl_bin} ls failed > "${dump_dir}/rcctl-failed-services.txt") last_result=$(${rcctl_bin} ls failed > "${dump_dir}/rcctl-failed-services.txt")
last_rc=$? last_rc=$?
if [ ${last_rc} -eq 0 ]; then if [ ${last_rc} -eq 0 ] || [ ${last_rc} -eq 1 ]; then
debug "* failed services OK" debug "* failed services OK"
else else
debug "* failed services ERROR" debug "* failed services ERROR"