mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +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" ) {
|
} elsif( $attrName eq "logfile" ) {
|
||||||
my $hash = $defs{$name};
|
my $hash = $defs{$name};
|
||||||
|
|
||||||
close( $hash->{FH} );
|
close( $hash->{FH} ) if( defined($hash->{FH}) );
|
||||||
delete $hash->{FH};
|
delete $hash->{FH};
|
||||||
delete $hash->{currentlogfile};
|
delete $hash->{currentlogfile};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user