Skip to content

Commit

Permalink
Merge pull request #9 from AnchorFree/fix-escaping
Browse files Browse the repository at this point in the history
allow spaces in `EXEC_ON_START` env variable
  • Loading branch information
white-hat authored May 15, 2018
2 parents 4b89f3a + 3a6d01c commit 9236ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export MATCH_REGEXP AWS_REGION
ALIVE=1
trap ALIVE=0 SIGTERM

if [ ! -z ${EXEC_ON_START} ]; then
if [ ! -z "${EXEC_ON_START+x}" ]; then
${EXEC_ON_START}
fi

Expand Down

0 comments on commit 9236ae3

Please sign in to comment.