mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
32_mailcheck.pm: fixed filehandle bug. see forum: https://forum.fhem.de/index.php/topic,77615.msg695634/topicseen.html#msg695634
git-svn-id: https://svn.fhem.de/fhem/trunk@15207 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b1fcfbb086
commit
5d0bda4d47
@ -321,7 +321,7 @@ mailcheck_Attr($$$)
|
||||
} elsif( $attrName eq "logfile" ) {
|
||||
my $hash = $defs{$name};
|
||||
|
||||
close( $hash->{FH} );
|
||||
close( $hash->{FH} ) if( defined($hash->{FH}) );
|
||||
delete $hash->{FH};
|
||||
delete $hash->{currentlogfile};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user