mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 12:58:13 +00:00
Strange archivedir bug
git-svn-id: https://svn.fhem.de/fhem/trunk@1156 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3b46a44d08
commit
fcf46b3ca3
@ -184,7 +184,7 @@ FileLog_Get($@)
|
||||
} else {
|
||||
my $linf = "$1/$inf" if($hash->{currentlogfile} =~ m,^(.*)/[^/]*$,o);
|
||||
if(!-f $linf) {
|
||||
$linf = $attr{$hash->{NAME}}{archivedir} . "/" . $inf;
|
||||
$linf = AttrValue($hash->{NAME},"archivedir",".") ."/". $inf;
|
||||
return "Error: cannot access $linf" if(!-f $linf);
|
||||
}
|
||||
$inf = $linf;
|
||||
|
Loading…
x
Reference in New Issue
Block a user