Skip to content

Commit

Permalink
Fix start...again
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Godbolt committed Sep 20, 2017
1 parent e2b0aba commit bdf8927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mkfifo /tmp/compiler-explorer-log
exec >/tmp/compiler-explorer-log
rm /tmp/compiler-explorer-log
cd /compiler-explorer-image
ENV=$(curl -sf http://169.254.169.254/latest/user-data)
ENV=$(curl -sf http://169.254.169.254/latest/user-data || true)
ENV=${ENV:-prod}
echo Running in environment ${ENV}
exec ./run_site.sh ${ENV} 2>&1

0 comments on commit bdf8927

Please sign in to comment.