diff options
author | jbj <devnull@localhost> | 1998-09-24 17:47:41 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1998-09-24 17:47:41 +0000 |
commit | 5428fb90f4432052eb08f9b7e3072e1af97bff4c (patch) | |
tree | 4561d139d5c4c6be2e056884bcd5e9d2cc44b715 /rpm.c | |
parent | c3970176a9da3bcb466b58977a38b9c6c9d7d8af (diff) | |
download | rpm-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-x | rpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |