diff options
author | joerg <joerg@pkgsrc.org> | 2008-03-09 22:26:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-03-09 22:26:56 +0000 |
commit | 028eca1764de086b3895602498799a6d7705fd16 (patch) | |
tree | 2f9b03f7c1a23eca814bd4e0947c58c6c7c2047e | |
parent | 0d989391ebf8dc18f4ed902e7183319f3d10bb6c (diff) | |
download | pkgsrc-028eca1764de086b3895602498799a6d7705fd16.tar.gz |
Don't print errno for missing GPG setting.
-rw-r--r-- | pkgtools/pkg_install/files/lib/vulnerabilities-file.c | 4 |
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"); |