minor fixes
This commit is contained in:
parent
0a0b3e3bf7
commit
9f8322b0e3
@ -743,7 +743,6 @@ Ext.define('PVE.node.StatusView', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (rows.length === 0) {
|
if (rows.length === 0) {
|
||||||
this.hide();
|
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -256,7 +256,7 @@ node_info_configure() {
|
|||||||
msgb "\n=== Detecting other thermal sensors ==="
|
msgb "\n=== Detecting other thermal sensors ==="
|
||||||
local otherTempCount
|
local otherTempCount
|
||||||
otherTempCount=$(echo "$sanitisedSensorsOutput" \
|
otherTempCount=$(echo "$sanitisedSensorsOutput" \
|
||||||
| grep -Ev '"(coretemp|k10temp-pci|cpu_thermal-virtual|nvme|drivetemp-scsi|SODIMM)[^"]*"' \
|
| grep -Ev '"(coretemp|k10temp-pci|cpu_thermal-virtual|nvme|drivetemp-scsi|SODIMM|spd5118)[^"]*"' \
|
||||||
| grep -c '"temp[0-9]*_input"' || true)
|
| grep -c '"temp[0-9]*_input"' || true)
|
||||||
|
|
||||||
if [[ "$otherTempCount" -gt 0 ]]; then
|
if [[ "$otherTempCount" -gt 0 ]]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user