From 382c8e40818a0b4a39150ddefa672d2f300c281b Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 26 May 2016 17:28:39 +1000 Subject: [PATCH] correct error conditions --- launcher | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/launcher b/launcher index d1f6b78..04848bc 100755 --- a/launcher +++ b/launcher @@ -502,8 +502,10 @@ run_bootstrap() { unset FAILED # magic exit code that indicates a retry if [[ "$ERR" == 77 ]]; then + $docker_path rm `cat $cidbootstrap` + rm $cidbootstrap exit 77 - else + elif [[ "$ERR" > 0 ]]; then FAILED=TRUE fi -- 2.25.1