Backups: Escape URL
This commit is contained in:
parent
99566f6970
commit
b4f88686b8
@ -57,10 +57,10 @@ global_exit=$(( backup_exit > prune_exit ? backup_exit : prune_exit ))
|
|||||||
|
|
||||||
if [ ${global_exit} -eq 0 ]; then
|
if [ ${global_exit} -eq 0 ]; then
|
||||||
info "Backup and Prune finished successfully"
|
info "Backup and Prune finished successfully"
|
||||||
/usr/bin/curl -fsS -m 10 --retry 5 -o /dev/null https://monitor.chaoswg.org/api/push/${PUSH_KEY}?msg=OK&ping=
|
/usr/bin/curl -fsS -m 10 --retry 5 -o /dev/null "https://monitor.chaoswg.org/api/push/${PUSH_KEY}?msg=OK&ping="
|
||||||
elif [ ${global_exit} -eq 1 ]; then
|
elif [ ${global_exit} -eq 1 ]; then
|
||||||
info "Backup and/or Prune finished with warnings"
|
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=
|
/usr/bin/curl -fsS -m 10 --retry 5 -o /dev/null "https://monitor.chaoswg.org/api/push/${PUSH_KEY}?msg=OK&ping="
|
||||||
else
|
else
|
||||||
info "Backup and/or Prune finished with errors"
|
info "Backup and/or Prune finished with errors"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user