sh.zio.backup: fix notification command
parent
930a21ccca
commit
d7ee173bde
|
@ -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```' \
|
||||||
|
|
Loading…
Reference in New Issue