sh.zio.backup: prototyping
parent
0de422a2b0
commit
e57393dbe1
|
@ -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