mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
fhem.pl: additional check in fhemFork for DbLog (Forum #43271)
git-svn-id: https://svn.fhem.de/fhem/trunk@11611 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7bdcbd6354
commit
ff93527579
@ -4515,7 +4515,8 @@ fhemFork()
|
||||
# Close FDs as we cannot restart FHEM if child keeps TCP Serverports open
|
||||
foreach my $d (sort keys %defs) {
|
||||
my $h = $defs{$d};
|
||||
$h->{DBH}->{InactiveDestroy} = 1 if($h->{TYPE} eq 'DbLog');
|
||||
$h->{DBH}->{InactiveDestroy} = 1
|
||||
if($h->{TYPE} eq 'DbLog' && $h->{DBH}); #Forum #43271
|
||||
TcpServer_Close($h) if($h->{SERVERSOCKET});
|
||||
if($h->{DeviceName}) {
|
||||
require "$attr{global}{modpath}/FHEM/DevIo.pm";
|
||||
|
Loading…
x
Reference in New Issue
Block a user