2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 00:36:25 +00:00

92_FileLog.pm: fix createGluedFile in parallel environment (Forum #140424)

git-svn-id: https://svn.fhem.de/fhem/trunk@29527 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2025-01-16 08:46:00 +00:00
parent 53c89f27dc
commit 306f487104

View File

@ -861,7 +861,7 @@ FileLog_Get($@)
my $linf_to = ResolveDateWildcards($hash->{logfile},
localtime(time_str2num("$to_ymd $to_hms")));
if($linf ne $linf_to){ # append each file into a temporary one
$tempfileName = $linf.".transit.temp.log";
$tempfileName = $linf.".transit.temp.log.$$";
unlink($tempfileName);
my $lf = $linf;