Skip to content

Commit adc26a0

Browse files
committed
fix bug
1 parent b62854c commit adc26a0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/bench.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,8 @@ jobs:
139139
pr_exit=0
140140
master_exit=0
141141
142-
if ! wait "$pr_pid"; then
143-
pr_exit=$?
144-
fi
145-
if ! wait "$master_pid"; then
146-
master_exit=$?
147-
fi
142+
wait "$pr_pid" || pr_exit=$?
143+
wait "$master_pid" || master_exit=$?
148144
149145
# Explicitly check and quote to avoid test errors
150146
if [ "${pr_exit}" -ne 0 ] || [ "${master_exit}" -ne 0 ]; then

0 commit comments

Comments
 (0)