mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
ccd019d268
commit
7fcb50735b
@ -158,6 +158,7 @@ FileLog_Switch($)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
$log->{FH} = $fh;
|
$log->{FH} = $fh;
|
||||||
|
setReadingsVal($log, "linesInTheFile", 0, TimeNow());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user