diff --git a/examples/librispeech/s2/local/test.sh b/examples/librispeech/s2/local/test.sh index 67174152..4a1cd238 100755 --- a/examples/librispeech/s2/local/test.sh +++ b/examples/librispeech/s2/local/test.sh @@ -81,7 +81,7 @@ for dmethd in attention ctc_greedy_search ctc_prefix_beam_search attention_resco ) & pids+=($!) # store background pids i=0; for pid in "${pids[@]}"; do wait ${pid} || ((++i)); done - [ ${i} -gt 0 ] && echo "$0: ${i} background jobs are failed." && false + [ ${i} -gt 0 ] && echo "$0: ${i} background jobs are failed." || true done ) done