diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-09-04 01:36:41 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-09-04 01:36:41 +0000 |
commit | e8a4a86e0043e6f6d12e6e29ef5b5e0268fb44a6 (patch) | |
tree | ac8581c47ed84687814b883b57676a1e0ee12b21 /bin | |
parent | 319cc882abaf7cdc0c40d441bb771eb574e16083 (diff) |
Allow changing exclude lists when reconfiguring BackupDaemon.
Some tests need to do this. I don't think it happens in normal use,
because the daemon's response to HUP takes a different path, I think.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/bbackupd/BackupDaemon.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp index d6c2a1fb..832ff314 100644 --- a/bin/bbackupd/BackupDaemon.cpp +++ b/bin/bbackupd/BackupDaemon.cpp @@ -2442,12 +2442,12 @@ void BackupDaemon::SetupLocations(BackupClientContext &rClientContext, const Con // Setup names in the location record pLoc->mName = *pLocName; pLoc->mPath = rConfig.GetKeyValue("Path"); - - // Read the exclude lists from the Configuration - pLoc->mapExcludeFiles.reset(BackupClientMakeExcludeList_Files(rConfig)); - pLoc->mapExcludeDirs.reset(BackupClientMakeExcludeList_Dirs(rConfig)); } + // Read the exclude lists from the Configuration + pLoc->mapExcludeFiles.reset(BackupClientMakeExcludeList_Files(rConfig)); + pLoc->mapExcludeDirs.reset(BackupClientMakeExcludeList_Dirs(rConfig)); + // Does this exist on the server? // Remove from dir object early, so that if we fail // to stat the local directory, we still don't |