diff --git a/plugins/20_events/hook b/plugins/20_events/hook index e3cc0f923..0f21da9fb 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)" "$@"