projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3488de8
)
dbus-launch: kill bus if we can't attach to a session when requested
author
Роман Донченко
<dpb corrigendum ru>
Wed, 11 Jun 2014 10:38:24 +0000
(11:38 +0100)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Wed, 11 Jun 2014 10:38:24 +0000
(11:38 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=74698
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
tools/dbus-launch.c
patch
|
blob
|
history
diff --git
a/tools/dbus-launch.c
b/tools/dbus-launch.c
index 58a0322e5daf163fe4139bffd3f4ff42a94f54f4..41a20e83b9802da2ef7461d687b881625461d719 100644
(file)
--- 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)