Commit 19b4aa83 by Riccardo Vicedomini
parents 998de300 0a743126
......@@ -290,7 +290,7 @@ for i in $(seq 1 ${NJOBS}); do
pidarr[$i]=$pid
else
${CMD} >"${MCLADE_WORKDIR}/log/search_${i}.out" 2>"${MCLADE_WORKDIR}/log/search_${i}.err"
cmdret=$?; if (( cmdret != 0 )); then print_error "search job ${i} failed (exit status: ${cmdret})"; exit 1; fi
cmdret=$?; if (( cmdret != 0 )); then print_error "search job failed (exit status: ${cmdret})"; exit 1; fi
fi
fi
done
......@@ -318,7 +318,7 @@ for i in $(seq 1 ${NJOBS}); do
pidarr[$i]=$pid
else
${CMD} >"${MCLADE_WORKDIR}/log/filter_${i}.out" 2>"${MCLADE_WORKDIR}/log/filter_${i}.err"
cmdret=$?; if (( cmdret != 0 )); then print_error "filter job ${i} failed (exit status: ${cmdret})"; exit 1; fi
cmdret=$?; if (( cmdret != 0 )); then print_error "filter job failed (exit status: ${cmdret})"; exit 1; fi
fi
fi
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment