diff --git a/usr/local/bin/sh.zio.backup b/usr/local/bin/sh.zio.backup index 829ce40..0d4e9ca 100755 --- a/usr/local/bin/sh.zio.backup +++ b/usr/local/bin/sh.zio.backup @@ -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" \