sh.zio.backup: send notification to correct topic
parent
55d05a4475
commit
5456552ba8
|
@ -174,11 +174,13 @@ function trigger_notify() {
|
|||
if [[ "$message" == "" ]]; then
|
||||
"$notify_prog" \
|
||||
--file "$log_path" \
|
||||
--invoked-by "$(basename $me_filename)" \
|
||||
--level "$level" \
|
||||
--title "$title"
|
||||
else
|
||||
"$notify_prog" \
|
||||
--file "$log_path" \
|
||||
--invoked-by "$(basename $me_filename)" \
|
||||
--level "$level" \
|
||||
--message '\\`\\`\\`\\n'"${message//$'\n'/'\\n'}"'\\n\\`\\`\\`' \
|
||||
--title "$title"
|
||||
|
|
Loading…
Reference in New Issue