sh.zio.backup: prototyping
parent
cb0e1ef4a1
commit
0c88a7e959
|
@ -193,8 +193,8 @@ function invoke_script() {
|
|||
function trigger_notify() {
|
||||
level="$1"
|
||||
title="$2"
|
||||
#output="$3"
|
||||
output="yo"
|
||||
output="$(echo "$3")"
|
||||
#output="yo"
|
||||
notify_prog="/usr/local/bin/sh.zio.notify"
|
||||
|
||||
echo "THE OUTPUT: $output"
|
||||
|
@ -203,7 +203,6 @@ function trigger_notify() {
|
|||
say warning "'$notify_prog' not found. Not sending notification"
|
||||
else
|
||||
/usr/local/bin/sh.zio.notify \
|
||||
--invoked-by "sh.zio.backup" \
|
||||
--level "$level" \
|
||||
--message "$output" \
|
||||
--title "$title"
|
||||
|
|
Loading…
Reference in New Issue