2
0
Fork 0

sh.zio.backup: support newlines in stderr message

main
Ducky 2024-04-01 23:52:43 +01:00
parent dcded5d1b8
commit ff7c49f93a
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ function trigger_notify() {
"$notify_prog" \ "$notify_prog" \
--file "$log_path" \ --file "$log_path" \
--level "$level" \ --level "$level" \
--message '\\`\\`\\`\\n'"$message"'\\n\\`\\`\\`' \ --message '\\`\\`\\`\\n'"${message//$'\n'/'\\n'}"'\\n\\`\\`\\`' \
--title "$title" --title "$title"
#--message '```\\n'"${message//$'\n'/'\\n'}"'\\n```' \ #--message '```\\n'"${message//$'\n'/'\\n'}"'\\n```' \