mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
tools/dashboard: support THREADCOUNT=0
This commit is contained in:
parent
796a70f4dd
commit
4b568f8815
@ -36,7 +36,11 @@ while [ : ]; do
|
||||
sleep 1.0
|
||||
done
|
||||
|
||||
tail -Fn+0 --pid=${pid} "${tcdir}/status" 2>/dev/null
|
||||
if [ "${THREADCOUNT}" = "0" ]; then
|
||||
tail -Fn+0 --pid=${pid} "${tcdir}/status" 2>/dev/null | grep -vE "STALLED|IDLE"
|
||||
else
|
||||
tail -Fn+0 --pid=${pid} "${tcdir}/status" 2>/dev/null
|
||||
fi
|
||||
|
||||
echo
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user