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.
This commit is contained in:
Colin Walters 2015-06-01 17:39:39 -04:00 committed by Colin Walters
parent ce49264157
commit 0bd1ff3939

View File

@ -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