hide stderr when using find

This commit is contained in:
Michael Hobbs
2016-08-26 13:46:05 -07:00
parent 600d872b76
commit a9358eaed7
3 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ events_list_cmd() {
local PLUGIN_DIR="$(dirname "$0")/.."
if [[ "$DOKKU_EVENTS" ]]; then
local logged="$(find "$PLUGIN_DIR" -type l -printf '%f ' | sort)"
local logged="$(find "$PLUGIN_DIR" -type l -printf '%f ' 2>/dev/null | sort)"
dokku_col_log_info2_quiet "Events currently logged"
local hook