Process:Start() does this for us.

Signed-off-by: Peter Hutterer <[email protected]>
---
 src/xserver.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/xserver.cpp b/src/xserver.cpp
index 0d2ace1..8647443 100644
--- a/src/xserver.cpp
+++ b/src/xserver.cpp
@@ -336,7 +336,6 @@ void xorg::testing::XServer::Start(const std::string 
&program) {
   std::vector<std::string> args;
   std::map<std::string, std::string>::iterator it;
 
-  args.push_back(program);
   args.push_back(std::string(GetDisplayString()));
 
   for (it = d_->options.begin(); it != d_->options.end(); it++) {
-- 
1.7.11.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to