config/trivial: fix returning FALSE instead of NULL in nm_config_new()

This commit is contained in:
Thomas Haller 2015-01-15 15:46:19 +01:00
parent 643f042b9b
commit 9387e8e8a7

View file

@ -578,7 +578,7 @@ nm_config_new (GError **error)
}
g_ptr_array_unref (confs);
if (!singleton)
return FALSE;
return NULL;
/* Handle no-auto-default key and state file */
priv->no_auto_default = g_key_file_get_string_list (priv->keyfile, "main", "no-auto-default", NULL, NULL);