sh.zio.backup: fix logic
This commit is contained in:
parent
991a21a5be
commit
5bf4386a53
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ function trigger_notify() {
|
||||||
if [[ ! -f "$notify_prog" ]]; then
|
if [[ ! -f "$notify_prog" ]]; then
|
||||||
say warning "'$notify_prog' does not exist. Not sending notification"
|
say warning "'$notify_prog' does not exist. Not sending notification"
|
||||||
else
|
else
|
||||||
if [[ -n "$message" ]]; then
|
if [[ "$message" == "" ]]; then
|
||||||
"$notify_prog" \
|
"$notify_prog" \
|
||||||
--file "$log_path" \
|
--file "$log_path" \
|
||||||
--level "$level" \
|
--level "$level" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue