diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-02-11 13:17:56 -0600 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-02-11 13:17:56 -0600 |
commit | bd3de96029a5af64b699af8e626d9742d8ba2d69 (patch) | |
tree | 037a17343f117a0c6dc442225eaff43e13a21894 | |
parent | d5847d8d012d4a2a659f890c210ad10031a9cf3d (diff) | |
download | accountsservice-mcatanzaro/local-error.tar.gz |
daemon: Fix error check in save_autologin()mcatanzaro/local-error
This regressed in 4b3fdd19.
-rw-r--r-- | src/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.c b/src/daemon.c index 300530d..9ccea49 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -1542,7 +1542,7 @@ save_autologin (Daemon *daemon, if (!g_key_file_load_from_file (keyfile, PATH_GDM_CUSTOM, G_KEY_FILE_KEEP_COMMENTS, - error)) { + &local_error)) { /* It's OK for custom.conf to not exist, we will make it */ if (!g_error_matches (local_error, G_FILE_ERROR, G_FILE_ERROR_NOENT)) { g_propagate_error (error, g_steal_pointer (&local_error)); |