Skip to content

Commit

Permalink
vumi-entrypoint.sh: Unquote exec args so empty strings aren't args
Browse files Browse the repository at this point in the history
  • Loading branch information
JayH5 committed Mar 7, 2016
1 parent 8b947be commit ef8134b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker/vumi-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ fi
SET_OPTS=$(env | grep ^VUMI_OPT_ | sed -e 's/^VUMI_OPT_//' -e 's/=/ /' | awk '{printf("%s=%s:%s ", "--set-option", tolower($1), $2);}')

exec twistd --nodaemon \
"$TWISTD_COMMAND" \
"$WORKER_CLASS_OPT" \
"$CONFIG_OPT" \
"$AMQP_OPTS" \
"$SENTRY_OPT" \
"$SET_OPTS" \
$TWISTD_COMMAND \
$WORKER_CLASS_OPT \
$CONFIG_OPT \
$AMQP_OPTS \
$SENTRY_OPT \
$SET_OPTS \
"$@"

0 comments on commit ef8134b

Please sign in to comment.