2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

00_FHZ.pm: remove die()

git-svn-id: https://svn.fhem.de/fhem/trunk@21071 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-01-29 10:48:49 +00:00
parent c7e1934a9b
commit 17c759bfd5

View File

@ -517,7 +517,7 @@ FHZ_ReadAnswer($$$)
my $nfound = select($rin, undef, undef, $to);
if($nfound < 0) {
next if ($! == EAGAIN() || $! == EINTR() || $! == 0);
die("Select error $nfound / $!\n");
return "FHZ_ReadAnswer select error: $nfound / $!";
}
return "Timeout reading answer for get $arg"
if($nfound == 0);