From 0ed0201b90f5c68df706e2828ee253525514a2e9 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Wed, 1 Jul 2015 19:48:09 +0100 Subject: [PATCH] Use d-neg condition to prevent unexpected failures --- plugins/20_events/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/20_events/install b/plugins/20_events/install index 494892bb5..62435390f 100755 --- a/plugins/20_events/install +++ b/plugins/20_events/install @@ -49,6 +49,6 @@ if [[ "$flag_rsyslog_needs_restart" == "y" ]]; then service rsyslog restart fi -[[ "$DOKKU_EVENTS" ]] && dokku_log_pluginhook_call "$(basename $0)" "$@" +[[ ! "$DOKKU_EVENTS" ]] || dokku_log_pluginhook_call "$(basename $0)" "$@" exit 0