Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
modules/tectonic: don't exit on failure in wait_for_tpr (#1010)
Browse files Browse the repository at this point in the history
Currently, if wait_for_tpr fails, whole `tectonic.sh` fails. This fixes
it.
  • Loading branch information
Sergiusz Urbaniak authored Jun 7, 2017
1 parent 3db09ab commit 6c75bfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/tectonic/resources/tectonic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function kubectl() {
}

function wait_for_tpr() {
set +e
local i=0

echo "Waiting for TPR $2"
Expand All @@ -51,6 +52,7 @@ function wait_for_tpr() {
echo "TPR $2 not available yet, retrying in 5 seconds ($i)"
sleep 5
done
set -e
}

function wait_for_pods() {
Expand Down

0 comments on commit 6c75bfb

Please sign in to comment.