diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-13 13:17:41 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-13 13:17:41 +0000 |
commit | e0011104f7587843f44b37d91e904a2c4c2a0f85 (patch) | |
tree | aff43e56fbe6af115a0a256ff8bd85d6463680fb /pkgtools | |
parent | 85a8d4f6c68637510b0aace577f21e06ab9014ab (diff) | |
download | pkgsrc-e0011104f7587843f44b37d91e904a2c4c2a0f85.tar.gz |
Non-matching signature file name is not an hard error, so return 1.
Diffstat (limited to 'pkgtools')
-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"); |