sh.zio.backup: fix newlines being broken
parent
42eb4c0b95
commit
73e43624b7
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue