sh.zio.backup: prototyping
This commit is contained in:
parent
0de422a2b0
commit
e57393dbe1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue