2
0
Fork 0

sh.zio.backup: fix notification command

main
Ducky 2024-04-01 21:33:34 +01:00
parent 930a21ccca
commit d7ee173bde
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ function trigger_notify() {
if [[ ! -f "$notify_prog" ]]; then if [[ ! -f "$notify_prog" ]]; then
say warning "'$notify_prog' not found. Not sending notification" say warning "'$notify_prog' not found. Not sending notification"
else else
/usr/local/bin/sh.zio.notify /usr/local/bin/sh.zio.notify \
--invoked-by "sh.zio.backup" \ --invoked-by "sh.zio.backup" \
--level "$level" \ --level "$level" \
--message '```\\n'"${output//$'\n'/'\\n'}"'\\n```' \ --message '```\\n'"${output//$'\n'/'\\n'}"'\\n```' \