base: dump-server-state.sh upstream release 23.06

This commit is contained in:
Jérémy Dubois 2023-06-05 10:46:53 +02:00
parent f43405991e
commit d2574faaef
2 changed files with 3 additions and 3 deletions

View file

@ -68,10 +68,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* nagios-nrpe: check_ipsecctl.sh is never used standalone for check_vpn, always called by check_ipsecctl_critiques.sh
* evobackup: zzz_evobackup upstream release 22.12, and call zzz_evobackup with bash
* base: install bash, now needed for zzz_evobackup script
* base: dump-server-state.sh upstream release 23.03
* post-install: execute motd-carp-state.sh only once an hour
* collectd: modified collectd scripts directory and scripts files right so that only _collectd group can execute them
* base: install ncdu and htop often used as diagnostic tools
* base: dump-server-state.sh upstream release 23.06
### Fixed

View file

@ -3,7 +3,7 @@
PROGNAME="dump-server-state"
REPOSITORY="https://gitea.evolix.org/evolix/dump-server-state"
VERSION="23.03"
VERSION="23.06"
readonly VERSION
dump_dir=
@ -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"