fix an error in updatefhem

git-svn-id: https://svn.fhem.de/fhem/trunk@1656 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mfr69bs
2012-06-25 18:20:56 +00:00
parent 502bc1cc99
commit 3d642b28b2

View File

@@ -197,6 +197,8 @@ CommandUpdatefhem($$)
my $delfile;
my $excluded = (!defined($attr{global}{exclude_from_update}) ? "" : $attr{global}{exclude_from_update});
`(mkdir -p $moddir/FhemUtils)` if(!-d "$moddir/FhemUtils");
foreach my $f (sort keys %$filetime) {
my $ef = substr $f,rindex($f,'/')+1;
if($excluded =~ /$ef/) {