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

(cherry picked from commit 9387e8e8a7)
This commit is contained in:
Thomas Haller 2015-01-15 15:46:19 +01:00 committed by Lubomir Rintel
parent 0799617515
commit d165559ef2

View file

@ -580,7 +580,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);