2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

fhem.pl: Fix nrarchive for wildcard in the directory part (Forum #55360)

git-svn-id: https://svn.fhem.de/fhem/trunk@11756 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-07-07 12:43:00 +00:00
parent 95e2907e42
commit 432d5566de

View File

@ -3309,6 +3309,8 @@ HandleArchiving($;$)
}
$file =~ s/%./.+/g;
my @t = localtime;
$dir = ResolveDateWildcards($dir, @t);
return if(!opendir(DH, $dir));
my @files = sort grep {/^$file$/} readdir(DH);
closedir(DH);