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