2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

32_SYSSTAT.pm: fixed perl warning

git-svn-id: https://svn.fhem.de/fhem/trunk@23932 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2021-03-12 09:24:04 +00:00
parent 33a3450c87
commit 31d8e89733

View File

@ -294,7 +294,7 @@ SYSSTAT_Read($)
delete $hash->{PID};
Log3 $name, 3, "$name: read: error during sysread: $!" if(!defined($ret));
Log3 $name, 3, "$name: read: end of file reached while sysread" if( $ret <= 0);
Log3 $name, 3, "$name: read: end of file reached while sysread" if(defined($ret) && $ret <= 0);
InternalTimer(gettimeofday()+10, "SYSSTAT_Connect", $hash, 0);
return undef;