Skip to content

Commit 5d98325

Browse files
jiangtong1000liwt31
authored andcommitted
revert run sh
1 parent c394d0d commit 5d98325

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)