sh.zio.backup: fix logic
parent
991a21a5be
commit
5bf4386a53
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue