diff options
author | Ivan Zakharyaschev <imz@altlinux.org> | 2018-03-23 15:55:34 +0300 |
---|---|---|
committer | Robert Ancell <robert.ancell@gmail.com> | 2018-03-26 10:59:16 +1300 |
commit | 733d1758adc0003ebbdce31e6c6bb58b86816cbb (patch) | |
tree | e709e69390fcdb684f6628e99ebe449d003cd1b3 | |
parent | e4be60aa2d0234c4c8714033287e482e5673b18c (diff) | |
download | lightdm-git-733d1758adc0003ebbdce31e6c6bb58b86816cbb.tar.gz |
in Remove X authority: Ignore any error & don't exit, continue closing the session
-rw-r--r-- | src/session-child.c | 3 |
1 files changed, 1 insertions, 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 */ |