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:
rudolfkoenig
2011-12-30 19:36:39 +00:00
parent 1816dc5ae7
commit 4a5d2473f5

View File

@@ -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;