summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmqv.c')
-rw-r--r--rpmqv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 4841cb877..2b415e608 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -333,7 +333,8 @@ int main(int argc, char *argv[])
}
rpmtsFree(ts);
- finishPipe();
+ if (finishPipe())
+ ec = EXIT_FAILURE;
#ifdef IAM_RPMQV
free(qva->qva_queryFormat);