92_FileLog.pm: fix for the eventOnThreshold feature (Forum #56051)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11921 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-08-08 08:37:09 +00:00
parent ccd019d268
commit 7fcb50735b

View File

@ -158,6 +158,7 @@ FileLog_Switch($)
return 0;
}
$log->{FH} = $fh;
setReadingsVal($log, "linesInTheFile", 0, TimeNow());
return 1;
}
return 0;