diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-08-06 19:11:07 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-08-06 19:11:07 +0000 |
commit | a2985a584a751c02a87eedb537f309f61463feff (patch) | |
tree | db8ddfefe0c661a95469208b314350cd7d7b0734 /lib | |
parent | 9437e833968c79fcf23ea1d1c54b84988e459270 (diff) |
Fix StartClient() to store new pid correctly
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backupstore/StoreTestUtils.cpp | 3 |
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; } + |