sh.zio.backup: fix notify not handling messages right
parent
a06ebcb217
commit
a0c489b0c7
|
@ -168,7 +168,7 @@ function trigger_notify() {
|
||||||
else
|
else
|
||||||
notify_command="$notify_prog"
|
notify_command="$notify_prog"
|
||||||
[[ -n "$log_path" ]] && notify_command+=" --file \"$log_path\""
|
[[ -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+=" --level $level"
|
||||||
notify_command+=" --title \"$title\""
|
notify_command+=" --title \"$title\""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue