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() {
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"