Skip to content

Commit af576b5

Browse files
committed
revert run sh
1 parent f2ad00a commit af576b5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

example/run.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ do
1616
exit_code=$?
1717
echo ============================$python_args=============================
1818
# if not the time out exit code or normal exit code
19-
if [ $exit_code -ne 124 ]; then
20-
echo "The script timed out" >&2
21-
elif [ $exit_code -ne 0 ]; then
19+
if [ $exit_code -ne 124 ] && [ $exit_code -ne 0 ]; then
2220
echo "The script failed with exit code $exit_code" >&2
2321
code=1
2422
fi

0 commit comments

Comments
 (0)