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 7655fed88f
commit 9848c42665

View File

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