summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-06-30 15:15:50 +0100
committerSimon McVittie <smcv@debian.org>2014-06-30 15:15:50 +0100
commitd35dfa78f7ee90bebc3c8a290a7f5877feb7eb8b (patch)
tree3ff7e7324aa42763ed8f76e7def35165b05aea76 /tools
parent2aa6558146965f91878fe7db131593a02736158e (diff)
downloaddbus-d35dfa78f7ee90bebc3c8a290a7f5877feb7eb8b.tar.gz
Imported Upstream version 1.8.6upstream/1.8.6
Diffstat (limited to 'tools')
-rw-r--r--tools/dbus-launch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c
index 58a0322e..41a20e83 100644
--- a/tools/dbus-launch.c
+++ b/tools/dbus-launch.c
@@ -536,7 +536,7 @@ kill_bus_when_session_ends (void)
if (tty_fd < 0 && x_fd < 0)
{
fprintf (stderr, "No terminal on standard input and no X display; cannot attach message bus to session lifetime\n");
- exit (1);
+ kill_bus_and_exit (1);
}
while (TRUE)