diff options
author | Michael Terry <michael.terry@canonical.com> | 2012-09-25 16:06:09 -0400 |
---|---|---|
committer | Michael Terry <michael.terry@canonical.com> | 2012-09-25 16:06:09 -0400 |
commit | b8e14569a4d9f650bd69d295c0f55095d7eae795 (patch) | |
tree | 93642155390fba812763cd33cc4248ab74e467d2 /tests/src/test-python-greeter | |
parent | 14b819db08b80648088828d455553148d680bbd6 (diff) | |
download | lightdm-b8e14569a4d9f650bd69d295c0f55095d7eae795.tar.gz |
tests: be more aggressive about closing the test greeter
Diffstat (limited to 'tests/src/test-python-greeter')
-rwxr-xr-x | tests/src/test-python-greeter | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test-python-greeter b/tests/src/test-python-greeter index cc1fe1be..7c78eedf 100755 --- a/tests/src/test-python-greeter +++ b/tests/src/test-python-greeter @@ -14,7 +14,7 @@ loop = GLib.MainLoop () def sigterm_cb (signum, frame): sys.stderr.write ("sigterm\n") status_notify ('GREETER %s TERMINATE SIGNAL=%d' % (os.getenv ('DISPLAY'), signum)) - loop.quit (); + sys.exit (0); signal.signal (signal.SIGTERM, sigterm_cb) status_socket = None |