2
0
Fork 0

sh.zio.backup: send notification to correct topic

main
Ducky 2024-04-02 00:27:59 +01:00
parent 55d05a4475
commit 5456552ba8
1 changed files with 2 additions and 0 deletions

View File

@ -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"