2
0
Fork 0

sh.zio.backup: fix logic

main
Ducky 2024-04-02 00:18:18 +01:00
parent 991a21a5be
commit 5bf4386a53
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ function trigger_notify() {
if [[ ! -f "$notify_prog" ]]; then
say warning "'$notify_prog' does not exist. Not sending notification"
else
if [[ -n "$message" ]]; then
if [[ "$message" == "" ]]; then
"$notify_prog" \
--file "$log_path" \
--level "$level" \