sh.zio.backup: send notification to correct topic
This commit is contained in:
parent
55d05a4475
commit
5456552ba8
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue