Commit 5c7ea35c authored by Роман Донченко's avatar Роман Донченко Committed by Simon McVittie

dbus-launch: kill bus if we can't attach to a session when requested

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=74698Reviewed-by: 's avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent 3488de84
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment