summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-09-05 08:38:31 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-09-05 08:38:31 +0300
commit75cea7a534ebe97d1c8d7345d469112f891bb7e8 (patch)
treee14ab0d2384b5f813653a9e152c4a66ff2798ebc /rpmqv.c
parent0b57571990817fa9872b9adfb000930bb09d58c0 (diff)
downloadlibrpm-tizen-75cea7a534ebe97d1c8d7345d469112f891bb7e8.tar.gz
librpm-tizen-75cea7a534ebe97d1c8d7345d469112f891bb7e8.tar.bz2
librpm-tizen-75cea7a534ebe97d1c8d7345d469112f891bb7e8.zip
Make --pipe command failures reflect our exit codes (RhBug:735481)
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);