rpm/fixqueryreturn.diff
OBS User autobuild 73d87ec7a2 Accepting request 19545 from Base:System
Copy from Base:System/rpm based on submit request 19545 from user mlschroe

OBS-URL: https://build.opensuse.org/request/show/19545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=86
2009-09-02 16:05:59 +00:00

14 lines
364 B
Diff

Index: lib/query.c
===================================================================
--- lib/query.c.orig
+++ lib/query.c
@@ -283,7 +283,7 @@ static int rpmgiShowMatches(QVA_t qva, r
if (qva->qva_source == RPMQV_DBOFFSET)
break;
}
- return rpmgiNumErrors(gi);
+ return ec + rpmgiNumErrors(gi);
}
int rpmcliShowMatches(QVA_t qva, rpmts ts)