Backup: Don't trigger alerts for warnings
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tobias Manske 2023-04-17 21:04:03 +02:00
parent 3f90398862
commit ad5c55ca23
Signed by: tobias
GPG Key ID: 9164B527694A0709
1 changed files with 1 additions and 0 deletions

View File

@ -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