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