Double quote $@ array expansions

This commit is contained in:
Alessio Treglia
2015-06-26 15:14:51 +01:00
parent f5e213e390
commit a858bc8f81
2 changed files with 2 additions and 2 deletions

View File

@@ -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)" "$@"

View File

@@ -91,7 +91,7 @@ dokku_log_fail() {
}
dokku_log_event() {
logger -t dokku -i -- $@
logger -t dokku -i -- "$@"
}
dokku_log_pluginhook_call() {