diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-08-15 09:37:18 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-08-17 10:19:35 +1000 |
commit | 98bacb5fe9405c5ef0b8938ddb828df9d3b0784e (patch) | |
tree | 174ef85f7ec89d4f899ad29e38de802545a022cd /src | |
parent | 13741cacdd3f5e85e2b70478849d281cf74cc7ea (diff) |
xserver: don't push the program name into the argument list
Process:Start() does this for us.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/xserver.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xserver.cpp b/src/xserver.cpp index 0bf7760..77b818c 100644 --- a/src/xserver.cpp +++ b/src/xserver.cpp @@ -332,7 +332,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++) { |