diff options
author | Ivan Zakharyaschev <imz@altlinux.org> | 2018-03-23 15:55:34 +0300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2018-08-30 20:57:47 +1200 |
commit | 34bf2c75c7bc8873fc1bd19bbacc07b8c35ef429 (patch) | |
tree | d6403a4a3e46bf184f254e9c51963b91be741d92 | |
parent | 082a46d490361b2b1e2338463af30d167cc574f0 (diff) | |
download | lightdm-git-34bf2c75c7bc8873fc1bd19bbacc07b8c35ef429.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 */ |