Skip to content

Commit

Permalink
If OSTREE_DISABLE_GPGME is not built in use osname/stateroot
Browse files Browse the repository at this point in the history
This should be the remote name to be most correct, but if
OSTREE_DISABLE_GPGME is not built in, attempt to use osname/stateroot.

Signed-off-by: Eric Curtin <[email protected]>
  • Loading branch information
ericcurtin committed Jan 5, 2024
1 parent ac8638f commit ee296db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ostree/ot-admin-builtin-status.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ deployment_print_status (OstreeSysroot *sysroot, OstreeRepo *repo, OstreeDeploym

g_print ("%s", output_buffer->str);
}
#else
g_autofree char *remote = ostree_deployment_get_osname (deployment);
#endif /* OSTREE_DISABLE_GPGME */
if (opt_verify)
{
Expand Down

0 comments on commit ee296db

Please sign in to comment.