initialize $temp

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3209 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-05-22 20:20:30 +00:00
parent dac41e43d8
commit a88097a1cb

View File

@@ -256,7 +256,7 @@ SYSSTAT_getPiTemp( $ )
my $filename = "/sys/class/thermal/thermal_zone0/temp";
my $temp;
my $temp = -1;
if( defined($hash->{HOST}) ) {
my $cmd = qx(which ssh);
chomp( $cmd );