sh.zio.backup: support newlines in stderr message
parent
dcded5d1b8
commit
ff7c49f93a
|
@ -167,7 +167,7 @@ function trigger_notify() {
|
|||
"$notify_prog" \
|
||||
--file "$log_path" \
|
||||
--level "$level" \
|
||||
--message '\\`\\`\\`\\n'"$message"'\\n\\`\\`\\`' \
|
||||
--message '\\`\\`\\`\\n'"${message//$'\n'/'\\n'}"'\\n\\`\\`\\`' \
|
||||
--title "$title"
|
||||
|
||||
#--message '```\\n'"${message//$'\n'/'\\n'}"'\\n```' \
|
||||
|
|
Loading…
Reference in New Issue