summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-09-04 01:36:41 +0000
committerChris Wilson <chris+github@qwirx.com>2014-09-04 01:36:41 +0000
commite8a4a86e0043e6f6d12e6e29ef5b5e0268fb44a6 (patch)
treeac8581c47ed84687814b883b57676a1e0ee12b21 /bin
parent319cc882abaf7cdc0c40d441bb771eb574e16083 (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.cpp8
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