summaryrefslogtreecommitdiff
path: root/lib/backupstore
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-08-06 19:11:07 +0000
committerChris Wilson <chris+github@qwirx.com>2015-08-06 19:11:07 +0000
commita2985a584a751c02a87eedb537f309f61463feff (patch)
treedb8ddfefe0c661a95469208b314350cd7d7b0734 /lib/backupstore
parent9437e833968c79fcf23ea1d1c54b84988e459270 (diff)
Fix StartClient() to store new pid correctly
Diffstat (limited to 'lib/backupstore')
-rw-r--r--lib/backupstore/StoreTestUtils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/backupstore/StoreTestUtils.cpp b/lib/backupstore/StoreTestUtils.cpp
index fc219325..1f5a14cc 100644
--- a/lib/backupstore/StoreTestUtils.cpp
+++ b/lib/backupstore/StoreTestUtils.cpp
@@ -284,7 +284,7 @@ bool StopServer(bool wait_for_process)
bool StartClient(const std::string& bbackupd_conf_file)
{
- bbstored_pid = StartDaemon(bbackupd_pid,
+ bbackupd_pid = StartDaemon(bbackupd_pid,
BBACKUPD " " + bbackupd_args + " " + bbackupd_conf_file,
"testfiles/bbackupd.pid");
return bbackupd_pid != 0;
@@ -297,3 +297,4 @@ bool StopClient(bool wait_for_process)
bbackupd_pid = 0;
return result;
}
+