From: Colin Walters Date: Mon, 27 Nov 2023 15:54:18 +0000 (-0500) Subject: status: Add error prefix for gpg verification X-Git-Tag: archive/raspbian/2023.8-1+rpi1^2~9^2^2~9^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1ca4f02a69cb634ab51af44bdf9def2aad1680be;p=ostree.git status: Add error prefix for gpg verification It's helpful to see which deployment has an error. --- diff --git a/src/ostree/ot-admin-builtin-status.c b/src/ostree/ot-admin-builtin-status.c index 3addfd16..9aa49aee 100644 --- a/src/ostree/ot-admin-builtin-status.c +++ b/src/ostree/ot-admin-builtin-status.c @@ -155,7 +155,8 @@ deployment_print_status (OstreeSysroot *sysroot, OstreeRepo *repo, OstreeDeploym else if (local_error != NULL) { g_propagate_error (error, g_steal_pointer (&local_error)); - return FALSE; + return glnx_prefix_error (error, "Deployment %i", + ostree_deployment_get_index (deployment)); } const guint n_signatures = ostree_gpg_verify_result_count_all (result);