sh.zio.backup: prototyping
parent
0de422a2b0
commit
e57393dbe1
|
@ -164,7 +164,7 @@ function trigger_notify() {
|
|||
if [[ ! -f "$notify_prog" ]]; then
|
||||
say warning "'$notify_prog' not found. Not sending notification"
|
||||
else
|
||||
message="$(echo $message | sed -e "s/\`/'/g")"
|
||||
message="$(echo $message | sed -e "s/\`/\\\`/g")"
|
||||
"$notify_prog" \
|
||||
--file "$log_path" \
|
||||
--level "$level" \
|
||||
|
|
Loading…
Reference in New Issue