2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 07:56:03 +00:00

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

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

View File

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