summaryrefslogtreecommitdiff
path: root/rpmspec.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 /rpmspec.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 'rpmspec.c')
-rw-r--r--rpmspec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmspec.c b/rpmspec.c
index e7606988c..f7f6962d2 100644
--- a/rpmspec.c
+++ b/rpmspec.c
@@ -110,7 +110,8 @@ int main(int argc, char *argv[])
}
rpmtsFree(ts);
- finishPipe();
+ if (finishPipe())
+ ec = EXIT_FAILURE;
free(qva->qva_queryFormat);