diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2014-03-13 14:47:12 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2014-03-13 14:47:12 +1300 |
commit | 59f7808ba847105639e2abdc5486d3e35aed512c (patch) | |
tree | 645a5d945ff49bead6e310372eb8e9ae7f705b96 | |
parent | ae02bf79d0f3cee7345f0f4a9588c5b57eeef57b (diff) | |
parent | 0b91d9e1d3882b7891d775db09f47db526263ae0 (diff) | |
download | lightdm-git-59f7808ba847105639e2abdc5486d3e35aed512c.tar.gz |
Ensure X authority is written before X server is started
-rw-r--r-- | src/x-authority.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/x-authority.c b/src/x-authority.c index 9f276204..1b18ab0e 100644 --- a/src/x-authority.c +++ b/src/x-authority.c @@ -345,6 +345,7 @@ x_authority_write (XAuthority *auth, XAuthWriteMode mode, const gchar *filename, } g_list_free (records); + fsync (output_fd); close (output_fd); if (!result) |