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:
parent
ce49264157
commit
0bd1ff3939
|
|
@ -54,6 +54,8 @@ gpg_verify_result_cb (OstreeRepo *repo,
|
||||||
|
|
||||||
g_print ("\n");
|
g_print ("\n");
|
||||||
ostree_print_gpg_verify_result (result);
|
ostree_print_gpg_verify_result (result);
|
||||||
|
|
||||||
|
gs_console_begin_status_line (console, "", NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue