projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6f435f
)
status: Add error prefix for gpg verification
author
Colin Walters
<walters@verbum.org>
Mon, 27 Nov 2023 15:54:18 +0000
(10:54 -0500)
committer
Colin Walters
<walters@verbum.org>
Mon, 27 Nov 2023 15:59:56 +0000
(10:59 -0500)
It's helpful to see which deployment has an error.
src/ostree/ot-admin-builtin-status.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-admin-builtin-status.c
b/src/ostree/ot-admin-builtin-status.c
index 3addfd16155fd0014624d48e9fb860f5237bf912..9aa49aee988f5558da49b2747f89088dee5552d0 100644
(file)
--- 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);