summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Zakharyaschev <imz@altlinux.org>2018-03-23 15:55:34 +0300
committerRobert Ancell <robert.ancell@canonical.com>2018-08-30 21:01:35 +1200
commit86999c6d923cd3f1c3f98a1c60e86f4b8a2dfc81 (patch)
tree1865e6d9d60063e8f82ef65a9de18cf24545ecef
parent591fe1133cafdd0654e88cbea216cf18c03a94c3 (diff)
downloadlightdm-git-86999c6d923cd3f1c3f98a1c60e86f4b8a2dfc81.tar.gz
in Remove X authority: Ignore any error & don't exit, continue closing the session
-rw-r--r--src/session-child.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/session-child.c b/src/session-child.c
index fb12d9b8..457667b2 100644
--- a/src/session-child.c
+++ b/src/session-child.c
@@ -810,8 +810,7 @@ session_child_run (int argc, char **argv)
if (error)
g_printerr ("Error removing X authority: %s\n", error->message);
g_clear_error (&error);
- if (!result)
- _exit (EXIT_FAILURE);
+ /* Ignore this error, don't exit, continue closing the session. */
}
/* Close the Console Kit session */