summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-03-09 22:26:56 +0000
committerjoerg <joerg@pkgsrc.org>2008-03-09 22:26:56 +0000
commitf473241bc37609c6e0eaf7511511bc778af56484 (patch)
tree2f9b03f7c1a23eca814bd4e0947c58c6c7c2047e /pkgtools/pkg_install
parentc0cc57c1e1dd6d0d7fb5ee461ca8423e698cc555 (diff)
downloadpkgsrc-f473241bc37609c6e0eaf7511511bc778af56484.tar.gz
Don't print errno for missing GPG setting.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/files/lib/vulnerabilities-file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/lib/vulnerabilities-file.c b/pkgtools/pkg_install/files/lib/vulnerabilities-file.c
index ff3ce1d9b98..fd129bd4436 100644
--- a/pkgtools/pkg_install/files/lib/vulnerabilities-file.c
+++ b/pkgtools/pkg_install/files/lib/vulnerabilities-file.c
@@ -36,7 +36,7 @@
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
-__RCSID("$NetBSD: vulnerabilities-file.c,v 1.1 2008/02/19 15:16:24 joerg Exp $");
+__RCSID("$NetBSD: vulnerabilities-file.c,v 1.2 2008/03/09 22:26:56 joerg Exp $");
#if HAVE_SYS_STAT_H
#include <sys/stat.h>
@@ -73,7 +73,7 @@ verify_signature(const char *input, size_t input_len)
int fd[2], status;
if (gpg_cmd == NULL)
- err(EXIT_FAILURE, "GPG variable not set in configuration file");
+ errx(EXIT_FAILURE, "GPG variable not set in configuration file");
if (pipe(fd) == -1)
err(EXIT_FAILURE, "cannot create input pipes");