Skip to content

Commit 342ce3b

Browse files
committed
FST: Check return value in reconstruction script
1 parent af2f3e3 commit 342ce3b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

prodtests/full-system-test/run-workflow-on-inputlist.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ if [[ "0$4" != "00" ]]; then
8989
kill $PID_LOG
9090
fi
9191

92+
for i in `seq 1 $NUM_PROCS`; do
93+
[[ $RETVAL == 0 ]] && break
94+
PID_VAR="PID$i"
95+
wait ${!PID_VAR}
96+
RETVAL=$?
97+
done
98+
9299
fairmq-shmmonitor --session $OVERRIDE_SESSION --cleanup
93100

94101
if [[ $RETVAL == 0 ]]; then

0 commit comments

Comments
 (0)