diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-07-25 10:05:33 +1000 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2012-07-25 10:54:05 -0700 |
commit | 4cce47f6610fcb77c34f97dbcf17ebd50e5ba49a (patch) | |
tree | aa882c9eb75c84ebf3dcbe1311ff3b580ad0c50c | |
parent | d647bea51a6b1fcd60e1e065221a56f2f4465bee (diff) |
xserver: check for old log file, not old config file
Introduced in cf9c6a9f588390869f278e5620ec40bfa2859d6a
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r-- | src/xserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xserver.cpp b/src/xserver.cpp index 101c859..b420dd1 100644 --- a/src/xserver.cpp +++ b/src/xserver.cpp @@ -272,7 +272,7 @@ void xorg::testing::XServer::TestStartup(void) { throw std::runtime_error(message); } - std::string old_log_file = d_->options["-config"]; + std::string old_log_file = d_->options["-logfile"]; old_log_file += ".old"; log_test.open(old_log_file.c_str(), std::ofstream::out); log_test.close(); |