summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-pull.c
diff options
context:
space:
mode:
authorColin Walters <walters@redhat.com>2015-06-01 17:39:39 -0400
committerColin Walters <walters@verbum.org>2015-06-02 09:07:28 -0400
commit0bd1ff393988727a17917b92fec71572d9448b54 (patch)
treed1fafdd1ed55d8f836e644cd4c7b89ee433b31ae /src/ostree/ot-builtin-pull.c
parentce49264157f9005e664557613cbbf67f54174682 (diff)
downloadostree-0bd1ff393988727a17917b92fec71572d9448b54.tar.gz
pull: Ensure console state for multiple GPG verification messages
If there are multiple signatures to verify, we would attempt to display them multiple times, but we can only call `gs_console_end_status_line()` if the console has been enabled. Ensure we turn back on the console after printing our status. This will result in extra newlines, but fixing that cleanly would require a saner GSConsole API.
Diffstat (limited to 'src/ostree/ot-builtin-pull.c')
-rw-r--r--src/ostree/ot-builtin-pull.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ostree/ot-builtin-pull.c b/src/ostree/ot-builtin-pull.c
index 874e6dae..9192e7cc 100644
--- a/src/ostree/ot-builtin-pull.c
+++ b/src/ostree/ot-builtin-pull.c
@@ -54,6 +54,8 @@ gpg_verify_result_cb (OstreeRepo *repo,
g_print ("\n");
ostree_print_gpg_verify_result (result);
+
+ gs_console_begin_status_line (console, "", NULL, NULL);
}
gboolean