mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
initialize $temp
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3209 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
61ef6cfb1f
commit
807f218bf4
@ -256,7 +256,7 @@ SYSSTAT_getPiTemp( $ )
|
|||||||
|
|
||||||
my $filename = "/sys/class/thermal/thermal_zone0/temp";
|
my $filename = "/sys/class/thermal/thermal_zone0/temp";
|
||||||
|
|
||||||
my $temp;
|
my $temp = -1;
|
||||||
if( defined($hash->{HOST}) ) {
|
if( defined($hash->{HOST}) ) {
|
||||||
my $cmd = qx(which ssh);
|
my $cmd = qx(which ssh);
|
||||||
chomp( $cmd );
|
chomp( $cmd );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user