From 546010246c407a4df0c2a1662ec6341b2b05d358 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Thu, 7 Jan 2016 11:18:33 +0000 Subject: [PATCH] Append trailing slash '/' to $PLUGIN_DIR This is to prevent find's misbehaviours which lead events:list to output incorrent information. Fixes #1839 --- plugins/20_events/commands | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/20_events/commands b/plugins/20_events/commands index dd818d600..725e717da 100755 --- a/plugins/20_events/commands +++ b/plugins/20_events/commands @@ -26,7 +26,7 @@ case "$1" in ;; events:list) - PLUGIN_DIR="$(dirname $0)" + PLUGIN_DIR="$(dirname $0)/" if [[ "$DOKKU_EVENTS" ]]; then logged="$(find $PLUGIN_DIR -type l -printf '%f ' | sort)" dokku_col_log_info2_quiet "Events currently logged"