summaryrefslogtreecommitdiff
path: root/tests/src/test-qt-greeter.cpp
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-07-22 14:31:11 +1000
committerRobert Ancell <robert.ancell@canonical.com>2011-07-22 14:31:11 +1000
commited90869be87fba271cc8c40da0e6716efe6a70ae (patch)
tree02c0bdc7d485a70e492e5ea9944178fdc38fb56f /tests/src/test-qt-greeter.cpp
parentde510bc7c9f385a850e2d8fd84c29d3e62dffb01 (diff)
downloadlightdm-ed90869be87fba271cc8c40da0e6716efe6a70ae.tar.gz
Fix broken and obsolete greeter quit signal
Diffstat (limited to 'tests/src/test-qt-greeter.cpp')
-rw-r--r--tests/src/test-qt-greeter.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/src/test-qt-greeter.cpp b/tests/src/test-qt-greeter.cpp
index 902ef9e6..384eb9b8 100644
--- a/tests/src/test-qt-greeter.cpp
+++ b/tests/src/test-qt-greeter.cpp
@@ -54,12 +54,7 @@ void TestGreeter::authenticationComplete ()
if (!isAuthenticated ())
return;
- if (startSessionSync ())
- {
- notify_status ("GREETER QUIT");
- exit (EXIT_SUCCESS);
- }
- else
+ if (!startSessionSync ())
notify_status ("GREETER SESSION-FAILED");
}