Skip to content

Commit

Permalink
revert run sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangtong1000 authored and liwt31 committed Nov 19, 2024
1 parent c394d0d commit 5d98325
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions example/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ do
exit_code=$?
echo ============================$python_args=============================
# if not the time out exit code or normal exit code
if [ $exit_code -ne 124 ]; then
echo "The script timed out" >&2
elif [ $exit_code -ne 0 ]; then
if [ $exit_code -ne 124 ] && [ $exit_code -ne 0 ]; then
echo "The script failed with exit code $exit_code" >&2
code=1
fi
Expand Down

0 comments on commit 5d98325

Please sign in to comment.