2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

OWServer: A bug within forking fixed: Killing the Undead!

git-svn-id: https://svn.fhem.de/fhem/trunk@2552 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mfr69bs 2013-01-22 18:08:57 +00:00
parent 2a44fd97d0
commit d39969a9d1

View File

@ -244,7 +244,7 @@ OWServer_Read($@)
return undef unless(defined($hash->{fhem}{owserver})); return undef unless(defined($hash->{fhem}{owserver}));
if(AttrVal($hash->{NAME},"nonblocking",undef)) { if(AttrVal($hash->{NAME},"nonblocking",undef) && $init_done) {
$hash->{".path"}= $path; $hash->{".path"}= $path;
pipe(READER,WRITER); pipe(READER,WRITER);
WRITER->autoflush(1); WRITER->autoflush(1);