2
0
Fork 0

sh.zio.backup: fix newlines being broken

main
Astra 2024-03-30 17:51:17 +00:00
parent 42eb4c0b95
commit 73e43624b7
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ function invoke_restic() {
echo "$restic_out" echo "$restic_out"
/usr/local/bin/sh.zio.notify \ /usr/local/bin/sh.zio.notify \
--title "Backup failed" \ --title "Backup failed" \
--message "\`\`\`'\n'${restic_out}'\n'\`\`\`" \ --message '```\\n'"${restic_out//$'\n'/'\\n'}"'\\n```' \
--level "warning" --level "warning"
break break
#echo "---- THE OUTPUT: $restic_out" #echo "---- THE OUTPUT: $restic_out"