From 54ed3c1f2b6abb4860912fa2acece76e1341cfba Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Wed, 1 Jul 2015 19:20:53 +0100 Subject: [PATCH] Fix double negative statement This is mostly for consistency with its own install script. --- plugins/20_events/hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/20_events/hook b/plugins/20_events/hook index 0f21da9fb..e3cc0f923 100755 --- a/plugins/20_events/hook +++ b/plugins/20_events/hook @@ -2,4 +2,4 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x source "$(dirname $0)/../common/functions" -[[ ! "$DOKKU_EVENTS" ]] || dokku_log_pluginhook_call "$(basename $0)" "$@" +[[ "$DOKKU_EVENTS" ]] && dokku_log_pluginhook_call "$(basename $0)" "$@"