mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-08 16:08:09 +02:00
dbus-launch: kill bus if we can't attach to a session when requested
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=74698 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
3488de849d
commit
5c7ea35c3d
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue