Backup: Don't trigger alerts for warnings
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3f90398862
commit
ad5c55ca23
@ -61,6 +61,7 @@ if [ ${global_exit} -eq 0 ]; then
|
||||
elif [ ${global_exit} -eq 1 ]; then
|
||||
info "Backup and/or Prune finished with warnings"
|
||||
/usr/bin/curl -fsS -m 10 --retry 5 -o /dev/null "https://monitor.chaoswg.org/api/push/${PUSH_KEY}?msg=OK&ping="
|
||||
exit 0 # We dont want to get notified about warnings as this would make the systemd unit fail.
|
||||
else
|
||||
info "Backup and/or Prune finished with errors"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user