Commit bd3de960 authored by Michael Catanzaro's avatar Michael Catanzaro

daemon: Fix error check in save_autologin()

This regressed in 4b3fdd19.
parent d5847d8d
Pipeline #109874 failed with stage
in 47 seconds
......@@ -1542,7 +1542,7 @@ save_autologin (Daemon *daemon,
if (!g_key_file_load_from_file (keyfile,
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));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment