mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
Fixed some file does not exists output
This commit is contained in:
@@ -1042,7 +1042,7 @@ sub updatecpufreqgraph {
|
|||||||
# Generate the Thermal Zone Temp CPU Graph
|
# Generate the Thermal Zone Temp CPU Graph
|
||||||
|
|
||||||
sub updatethermaltempgraph {
|
sub updatethermaltempgraph {
|
||||||
my $thermalcount = `ls -dA $mainsettings{'RRDLOG'}/collectd/localhost/thermal-thermal_zone* | wc -l`;
|
my $thermalcount = `ls -dA $mainsettings{'RRDLOG'}/collectd/localhost/thermal-thermal_zone* | wc -l 2>/dev/null`;
|
||||||
my $period = $_[0];
|
my $period = $_[0];
|
||||||
my @command = (
|
my @command = (
|
||||||
"-",
|
"-",
|
||||||
|
|||||||
Reference in New Issue
Block a user