summaryrefslogtreecommitdiff
path: root/rpm.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-09-24 17:47:41 +0000
committerjbj <devnull@localhost>1998-09-24 17:47:41 +0000
commit5428fb90f4432052eb08f9b7e3072e1af97bff4c (patch)
tree4561d139d5c4c6be2e056884bcd5e9d2cc44b715 /rpm.c
parentc3970176a9da3bcb466b58977a38b9c6c9d7d8af (diff)
downloadrpm-5428fb90f4432052eb08f9b7e3072e1af97bff4c.tar.gz
rpm-5428fb90f4432052eb08f9b7e3072e1af97bff4c.tar.bz2
rpm-5428fb90f4432052eb08f9b7e3072e1af97bff4c.zip
non-zero exit status for verify failures.
CVS patchset: 2345 CVS date: 1998/09/24 17:47:41
Diffstat (limited to 'rpm.c')
-rwxr-xr-xrpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpm.c b/rpm.c
index 16f52219e..c9b3a07b7 100755
--- a/rpm.c
+++ b/rpm.c
@@ -1336,11 +1336,11 @@ int main(int argc, char ** argv) {
if (!noMd5) verifyFlags |= VERIFY_MD5;
if (verifySource == VERIFY_EVERY) {
- doVerify(rootdir, VERIFY_EVERY, NULL, verifyFlags);
+ ec = doVerify(rootdir, VERIFY_EVERY, NULL, verifyFlags);
} else {
if (!poptPeekArg(optCon))
argerror(_("no arguments given for verify"));
- doVerify(rootdir, verifySource, poptGetArgs(optCon), verifyFlags);
+ ec = doVerify(rootdir, verifySource, poptGetArgs(optCon), verifyFlags);
}
break;
}