From cbe35fedbcdf9e8e3b3bd6733a4e2d72196f86b2 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 16 Jun 2016 19:56:50 +0200 Subject: [PATCH] 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. --- common/flatpak-dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index 2fd07c8c..863d2669 100644 --- a/common/flatpak-dir.c +++ b/common/flatpak-dir.c @@ -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)