diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-09-05 08:38:31 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-09-05 08:38:31 +0300 |
commit | 75cea7a534ebe97d1c8d7345d469112f891bb7e8 (patch) | |
tree | e14ab0d2384b5f813653a9e152c4a66ff2798ebc /rpmqv.c | |
parent | 0b57571990817fa9872b9adfb000930bb09d58c0 (diff) | |
download | librpm-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |