system-helper: Correctly copy the system config when modifying a repo

We were accidentally using the passed in copy of the rest of the config
when we should be using the one we read.
This commit is contained in:
Alexander Larsson
2016-06-16 19:56:50 +02:00
parent 1d185f7dd6
commit cbe35fedbc

View File

@@ -4803,7 +4803,7 @@ flatpak_dir_modify_remote (FlatpakDir *self,
g_key_file_set_value (new_config, group, keys[i], value);
}
if (!ostree_repo_write_config (self->repo, config, error))
if (!ostree_repo_write_config (self->repo, new_config, error))
return FALSE;
if (gpg_data != NULL)