mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
92_FileLog.pm: return the 23:59:59 line (Forum #118858)
git-svn-id: https://svn.fhem.de/fhem/trunk@23751 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9485b22e2b
commit
a8edac93b0
@ -840,6 +840,8 @@ FileLog_Get($@)
|
||||
$ifh = new IO::File $inf if($inf);
|
||||
FileLog_seekTo($inf, $ifh, $hash, $from, $reformatFn) if($ifh);
|
||||
|
||||
$to .= "z"; # return the 23:59:59 line too (Forum #118858)
|
||||
|
||||
# Return the the plain file data, $outf is ignored
|
||||
if(!@a) {
|
||||
return "" if(!$ifh);
|
||||
|
Loading…
x
Reference in New Issue
Block a user