Exit code can be negative

This commit is contained in:
Chi Vinh Le
2017-10-31 17:34:28 +01:00
parent 8821c0aa5c
commit bfb2da519f
+1 -1
View File
@@ -33,7 +33,7 @@ if [[ "${CIRCLE_BRANCH}" == "master" ]]; then
# Determine exit code.
result=$?
if [ "$result" -gt "0" ]; then
if [ "$result" -ne "0" ]; then
echo "-- Failed e2e for $1 #$try --"
# Try again until E2E_MAX_RETRIES is reached.