2
0
Fork 0

sh.zio.backup: prototyping

main
Ducky 2024-04-01 21:38:34 +01:00
parent cb0e1ef4a1
commit 0c88a7e959
1 changed files with 2 additions and 3 deletions

View File

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