summaryrefslogtreecommitdiff
path: root/rpmspec.c
diff options
context:
space:
mode:
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);