mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
tools/dashboard: support THREADCOUNT=0
This commit is contained in:
@@ -36,7 +36,11 @@ while [ : ]; do
|
|||||||
sleep 1.0
|
sleep 1.0
|
||||||
done
|
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
|
echo
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user