[ostree] core: Fix inverted conditional in GPG checking



commit 536d6fb083c5e7eb862cc8fe23a739bebf2962ea
Author: Colin Walters <walters verbum org>
Date:   Mon Jun 29 11:09:00 2015 -0400

    core: Fix inverted conditional in GPG checking

 src/libostree/ostree-repo-pull.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c
index 29b72bf..ff5bd3b 100644
--- a/src/libostree/ostree-repo-pull.c
+++ b/src/libostree/ostree-repo-pull.c
@@ -1682,7 +1682,7 @@ ostree_repo_pull_with_options (OstreeRepo             *self,
 
   pull_data->start_time = g_get_monotonic_time ();
 
-  if (!_ostree_repo_remote_name_is_file (remote_name_or_baseurl))
+  if (_ostree_repo_remote_name_is_file (remote_name_or_baseurl))
     {
       pull_data->remote_name = g_strdup (remote_name_or_baseurl);
       /* For compatibility with pull-local, don't gpg verify local


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]