Strange archivedir bug
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1156 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -184,7 +184,7 @@ FileLog_Get($@)
|
|||||||
} else {
|
} else {
|
||||||
my $linf = "$1/$inf" if($hash->{currentlogfile} =~ m,^(.*)/[^/]*$,o);
|
my $linf = "$1/$inf" if($hash->{currentlogfile} =~ m,^(.*)/[^/]*$,o);
|
||||||
if(!-f $linf) {
|
if(!-f $linf) {
|
||||||
$linf = $attr{$hash->{NAME}}{archivedir} . "/" . $inf;
|
$linf = AttrValue($hash->{NAME},"archivedir",".") ."/". $inf;
|
||||||
return "Error: cannot access $linf" if(!-f $linf);
|
return "Error: cannot access $linf" if(!-f $linf);
|
||||||
}
|
}
|
||||||
$inf = $linf;
|
$inf = $linf;
|
||||||
|
|||||||
Reference in New Issue
Block a user