From 733d1758adc0003ebbdce31e6c6bb58b86816cbb Mon Sep 17 00:00:00 2001 From: Ivan Zakharyaschev Date: Fri, 23 Mar 2018 15:55:34 +0300 Subject: [PATCH] in Remove X authority: Ignore any error & don't exit, continue closing the session --- src/session-child.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/session-child.c b/src/session-child.c index 5d77c5a5..468534cf 100644 --- a/src/session-child.c +++ b/src/session-child.c @@ -771,8 +771,7 @@ session_child_run (int argc, char **argv) if (error) g_printerr ("Error removing X authority: %s\n", error->message); - if (!result) - _exit (EXIT_FAILURE); + /* Ignore this error, don't exit, continue closing the session. */ } /* Close the Console Kit session */