Skip to content

Commit c301b0a

Browse files
committed
added aditional set -e while app initializing
1 parent 6e1531d commit c301b0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,12 @@ if [ -z "$WORKING_DIR" ]; then
155155
fi
156156

157157

158-
158+
set -e
159159
# Only execute init script once
160160
if [ ! -f "$WORKING_DIR/.initialized" ]; then
161161
case "$INIT" in
162162
true)
163+
set -e
163164
echo "Initilizing app"
164165
/scripts/init.sh
165166
echo "App was initialized"

0 commit comments

Comments
 (0)