mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
92_FileLog.pm: fix bug itrodiced with last bugfix (Forum #45546)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10161 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
89c67de9df
commit
a69801289c
@ -911,7 +911,7 @@ seekBackOneLine($$)
|
||||
while($pos > 0) { # skip current CR/NL
|
||||
$fh->seek(--$pos, 0);
|
||||
$fh->read($buf, 1);
|
||||
last if($buf ne "\n" || $buf ne "\r");
|
||||
last if($buf ne "\n" && $buf ne "\r");
|
||||
}
|
||||
$fh->seek($pos, 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user