summaryrefslogtreecommitdiff
path: root/test/log
diff options
context:
space:
mode:
Diffstat (limited to 'test/log')
-rw-r--r--test/log/log_process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/log/log_process.cpp b/test/log/log_process.cpp
index ca835133..2484c58f 100644
--- a/test/log/log_process.cpp
+++ b/test/log/log_process.cpp
@@ -74,7 +74,7 @@ protected:
vector<std::string> args;
args.push_back(to_string(exitCode));
args.push_back(to_string(num_));
- int ret = proc_.start("/proc/self/exe", args);
+ int ret = proc_.start(self(), args);
if (ret) {
cerr << "failed to start process" << endl;
return TestFail;