summaryrefslogtreecommitdiff
path: root/rpm2cpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r--rpm2cpio.c4
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);