diff --git a/FHEM/53_GHoma.pm b/FHEM/53_GHoma.pm index 8afb9f6e1..8d868386a 100644 --- a/FHEM/53_GHoma.pm +++ b/FHEM/53_GHoma.pm @@ -249,7 +249,11 @@ sub GHoma_moveclient($$) { # Handles von temporaerem Client zu Statischem uebe delete($selectlist{$thash->{NAME}}); delete $thash->{FD}; CommandDelete(undef, $thash->{NAME}); - syswrite( $chash->{CD}, GHoma_BuildString($init2) ); + eval { syswrite( $chash->{CD}, GHoma_BuildString($init2) ); }; + if ($@) { + Log3 ($thash, 3, "$thash->{TYPE} ($thash->{NAME}) syswrite error: $@\cnHash: $chash->{CD}"); + return + } InternalTimer(gettimeofday()+ $timeout, "GHoma_Timer", $chash,0); } #####################################