2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 17:36:01 +00:00

fhem.pl: ignore select error caused by signal (e.g. HUP)

git-svn-id: https://svn.fhem.de/fhem/trunk@4769 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-01-29 08:14:58 +00:00
parent 7b60748121
commit 29f5b30cd4

View File

@ -476,7 +476,7 @@ while (1) {
if($nfound < 0) {
my $err = int($!);
next if ($err == 0);
next if($err==0 || $err==4); # 4==EINTR
Log 1, "ERROR: Select error $nfound ($err), error count= $errcount";
$errcount++;