diff options
author | jbj <devnull@localhost> | 2002-08-23 21:01:59 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-08-23 21:01:59 +0000 |
commit | f5a546f5801067dd922aa83e7d78e8e59c84e738 (patch) | |
tree | 3677837b7db8079de19de4e0d5e051eaf8261851 /rpm2cpio.c | |
parent | 4e245109ad54513ec5563b4292cce64f90482ed6 (diff) | |
download | rpm-f5a546f5801067dd922aa83e7d78e8e59c84e738.tar.gz rpm-f5a546f5801067dd922aa83e7d78e8e59c84e738.tar.bz2 rpm-f5a546f5801067dd922aa83e7d78e8e59c84e738.zip |
- merge signature returns into rpmRC.
- python: exceptions on NOKEY/NOTTRUSTED.
CVS patchset: 5667
CVS date: 2002/08/23 21:01:59
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r-- | rpm2cpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpm2cpio.c b/rpm2cpio.c index a57e53cc8..7397e8373 100644 --- a/rpm2cpio.c +++ b/rpm2cpio.c @@ -47,15 +47,15 @@ int main(int argc, char **argv) } switch (rc) { - case RPMRC_BADSIZE: case RPMRC_OK: + case RPMRC_NOKEY: + case RPMRC_NOTTRUSTED: break; case RPMRC_NOTFOUND: fprintf(stderr, _("argument is not an RPM package\n")); exit(EXIT_FAILURE); break; case RPMRC_FAIL: - case RPMRC_SHORTREAD: default: fprintf(stderr, _("error reading header from package\n")); exit(EXIT_FAILURE); |