From eeceb428951fd33b9bedbd4adba9f08e46a47dcc Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 15 Sep 2009 11:05:27 +0300 Subject: [PATCH] Take non-gi errors into account too (SuseBug:527191) - patch from OpenSUSE / Michael Schroeder --- lib/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/query.c b/lib/query.c index d5fd1fc..3337f08 100644 --- a/lib/query.c +++ b/lib/query.c @@ -282,7 +282,7 @@ static int rpmgiShowMatches(QVA_t qva, rpmts ts) if (qva->qva_source == RPMQV_DBOFFSET) break; } - return rpmgiNumErrors(gi); + return ec + rpmgiNumErrors(gi); } int rpmcliShowMatches(QVA_t qva, rpmts ts) -- 2.7.4