2
0
Fork 0

sh.zio.backup: fix notify not handling messages right

main
Ducky 2024-04-02 00:14:59 +01:00
parent a06ebcb217
commit a0c489b0c7
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ function trigger_notify() {
else
notify_command="$notify_prog"
[[ -n "$log_path" ]] && notify_command+=" --file \"$log_path\""
[[ -n "$message" ]] && notify_command+=" --message '\\`\\`\\`\\n'"${message//$'\n'/'\\n'}"'\\n\\`\\`\\`'"
[[ -n "$message" ]] && notify_command+=" --message '\\`\\`\\`\\n'\"${message//$'\n'/'\\n'}\"'\\n\\`\\`\\`'"
notify_command+=" --level $level"
notify_command+=" --title \"$title\""