Skip to content

Commit

Permalink
Always use new block for autoexclude
Browse files Browse the repository at this point in the history
Fixes #415: For Windows clients not working include, only exlude works
  • Loading branch information
Oleg Livshyts authored and Marco van Wieringen committed May 9, 2015
1 parent 2761f07 commit e3c2841
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/win32/findlib/win32.c
Expand Up @@ -424,12 +424,7 @@ bool exclude_win32_not_to_backup_registry_entries(JCR *jcr, FF_PKT *ff)
/*
* Prepare include block to do exclusion via wildcards in options
*/
if (ff->fileset->include_list.size() == 0) {
Dmsg0(100, "Fileset has no include block, inserting one at first position\n");
new_preinclude(ff->fileset);
} else {
Dmsg0(100, "Fileset has include block(s), using first one\n");
}
new_preinclude(ff->fileset);

include = (findINCEXE*)ff->fileset->include_list.get(0);

Expand Down

0 comments on commit e3c2841

Please sign in to comment.