diff options
Diffstat (limited to 'tools/archpkgs2solv.c')
-rw-r--r-- | tools/archpkgs2solv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/archpkgs2solv.c b/tools/archpkgs2solv.c index 1f89929..4ce95a4 100644 --- a/tools/archpkgs2solv.c +++ b/tools/archpkgs2solv.c @@ -118,7 +118,7 @@ main(int argc, char **argv) repo_add_repodata(repo, 0); res = 0; for (i = 0; i < npkgs; i++) - if (repo_add_arch_pkg(repo, pkgs[i], REPO_REUSE_REPODATA|REPO_NO_INTERNALIZE|flags) != 0) + if (repo_add_arch_pkg(repo, pkgs[i], REPO_REUSE_REPODATA|REPO_NO_INTERNALIZE|flags) == 0) { fprintf(stderr, "archpkgs2solv: %s\n", pool_errstr(pool)); res = 1; |