Skip to content

Commit 9b9e69d

Browse files
author
Cory Schwartz
committed
handle canceled
1 parent c82c12f commit 9b9e69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ echo "Got testground ID ${TGID}"
3939
echo -n "Testground started: "; date
4040
echo "Waiting for job to complete."
4141

42-
while [ "${status}" != "complete" || ${status} != "canceled"]
42+
while [ "${status}" != "complete" -a "${status}" != "canceled" ]
4343
do
4444
sleep 30
4545
status=$(/testground --endpoint "${BACKEND}" status -t "${TGID}" | awk '/Status/ {print $2}')

0 commit comments

Comments
 (0)