From ea8ecdbeb95007004cc19a15ef3379c7fe943071 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 1 Oct 2019 16:45:58 -0400 Subject: [PATCH] eol: Use the right ref in the confirmation message We were using the old ref here, instead of the new one, when asking whether to go ahead. Closes: https://github.com/flatpak/flatpak/issues/3139 --- app/flatpak-cli-transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/flatpak-cli-transaction.c b/app/flatpak-cli-transaction.c index 6ec1372d7..564ebffca 100644 --- a/app/flatpak-cli-transaction.c +++ b/app/flatpak-cli-transaction.c @@ -521,7 +521,7 @@ end_of_lifed_with_rebase (FlatpakTransaction *transaction, if (rebased_to_ref && remote) { if (self->disable_interaction || - flatpak_yes_no_prompt (TRUE, _("Replace it with %s?"), flatpak_ref_get_name (rref))) + flatpak_yes_no_prompt (TRUE, _("Replace it with %s?"), rebased_to_ref)) { g_autoptr(GError) error = NULL;