1
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-04 22:19:38 +00:00

98_freezemon.pm: fixed collection of logmessages when set inactive

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16535 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
KernSani 2018-04-02 17:04:41 +00:00
parent 0a65a97e5c
commit fbd9fc38f2

View File

@ -582,7 +582,7 @@ sub freezemon_Attr($) {
my $path = $1; my $path = $1;
$path =~ s/%L/$attr{global}{logdir}/g if ( $path =~ m/%/ && $attr{global}{logdir} ); $path =~ s/%L/$attr{global}{logdir}/g if ( $path =~ m/%/ && $attr{global}{logdir} );
if ( opendir( DH, $path ) ) { if ( opendir( DH, $path ) ) {
freezemon_install_log_wrapper($hash); freezemon_install_log_wrapper($hash) if (!isDisabled($name));
closedir(DH); closedir(DH);
} }
else { else {