mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-03 17:47:40 +03:00
Merge pull request #2060 from d4s/ostree_repo_pull_with_options-gpg_check
lib/repo-pull: fix GPG check while pulling remote
This commit is contained in:
commit
dd44f6f941
@ -3856,7 +3856,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
|||||||
|
|
||||||
#ifdef OSTREE_DISABLE_GPGME
|
#ifdef OSTREE_DISABLE_GPGME
|
||||||
/* Explicitly fail here if gpg verification is requested and we have no GPG support */
|
/* Explicitly fail here if gpg verification is requested and we have no GPG support */
|
||||||
if (opt_gpg_verify_set || opt_gpg_verify_summary_set)
|
if (pull_data->gpg_verify || pull_data->gpg_verify_summary)
|
||||||
{
|
{
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
|
g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
|
||||||
"'%s': GPG feature is disabled in a build time",
|
"'%s': GPG feature is disabled in a build time",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user