mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
config/multithread: dump stats only on success
This commit is contained in:
parent
d4392ee718
commit
d8e11007fe
@ -56,7 +56,7 @@ start_multithread_build() {
|
||||
--loadstats "${THREAD_CONTROL}"/loadstats \
|
||||
--max-procs ${THREADCOUNT} ${buildopts} || result=1
|
||||
|
||||
[ -f "${THREAD_CONTROL}"/history ] && echo && cat "${THREAD_CONTROL}"/history | ${ROOT}/tools/mtstats.py
|
||||
[ ${result} -eq 0 -a -f "${THREAD_CONTROL}"/history ] && echo && cat "${THREAD_CONTROL}"/history | ${ROOT}/tools/mtstats.py
|
||||
|
||||
rm -f "${THREAD_CONTROL}/parallel.pid"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user