Append trailing slash '/' to $PLUGIN_DIR
This is to prevent find's misbehaviours which lead events:list to output incorrent information. Fixes #1839
This commit is contained in:
1 parent
f7e8c9be90
commit
546010246c
1 file changed
+1
-1
@@ -26,7 +26,7 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
events:list)
|
events:list)
|
||||||
PLUGIN_DIR="$(dirname $0)"
|
PLUGIN_DIR="$(dirname $0)/"
|
||||||
if [[ "$DOKKU_EVENTS" ]]; then
|
if [[ "$DOKKU_EVENTS" ]]; then
|
||||||
logged="$(find $PLUGIN_DIR -type l -printf '%f ' | sort)"
|
logged="$(find $PLUGIN_DIR -type l -printf '%f ' | sort)"
|
||||||
dokku_col_log_info2_quiet "Events currently logged"
|
dokku_col_log_info2_quiet "Events currently logged"
|
||||||
|
|||||||
Reference in new issue
Block a user