mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +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:
parent
53c89f27dc
commit
306f487104
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user