diff options
author | joerg <joerg> | 2009-02-13 13:17:41 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-02-13 13:17:41 +0000 |
commit | 85a51639792031af731bc47f8c19b9933fad64b2 (patch) | |
tree | aff43e56fbe6af115a0a256ff8bd85d6463680fb | |
parent | f2a05f34079ddc8156f74b99adceab5f7bc7ebfa (diff) | |
download | pkgsrc-85a51639792031af731bc47f8c19b9933fad64b2.tar.gz |
Non-matching signature file name is not an hard error, so return 1.
-rw-r--r-- | pkgtools/pkg_install/files/lib/pkg_signature.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/lib/pkg_signature.c b/pkgtools/pkg_install/files/lib/pkg_signature.c index 87002a634e9..bcac9b08ed1 100644 --- a/pkgtools/pkg_install/files/lib/pkg_signature.c +++ b/pkgtools/pkg_install/files/lib/pkg_signature.c @@ -1,4 +1,4 @@ -/* $NetBSD: pkg_signature.c,v 1.4 2009/02/13 11:21:07 joerg Exp $ */ +/* $NetBSD: pkg_signature.c,v 1.5 2009/02/13 13:17:41 joerg Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -7,7 +7,7 @@ #if HAVE_SYS_CDEFS_H #include <sys/cdefs.h> #endif -__RCSID("$NetBSD: pkg_signature.c,v 1.4 2009/02/13 11:21:07 joerg Exp $"); +__RCSID("$NetBSD: pkg_signature.c,v 1.5 2009/02/13 13:17:41 joerg Exp $"); /*- * Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>. @@ -192,7 +192,7 @@ retry: } if (strcmp(fname, archive_entry_pathname(*entry)) != 0) - return -1; + return 1; if (archive_entry_size(*entry) > SSIZE_MAX - 1) { warnx("signature too large to process"); |