Skip to content

Commit

Permalink
Fail on bad execution
Browse files Browse the repository at this point in the history
  • Loading branch information
abelfodil committed Jan 20, 2021
1 parent 36b8864 commit 726b81b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions root/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

set -e

FILE_ENV_VARS="$(env | grep '__FILE=')"
for env_var in $FILE_ENV_VARS; do
var_name="$(echo $env_var | grep -o '.*__FILE=' | sed 's/__FILE=//g')"
Expand Down

0 comments on commit 726b81b

Please sign in to comment.