summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>1999-09-28 21:31:23 +0000
committerespie <espie@openbsd.org>1999-09-28 21:31:23 +0000
commit8f6bfc5c6208112e1d462efecf52840ebb933e98 (patch)
treece4cb601738fdc350ebe4a0dc562f3db676b240a
parent- Reallocate scrollbuffer when changing linemodes, not loading fonts. (diff)
downloadwireguard-openbsd-8f6bfc5c6208112e1d462efecf52840ebb933e98.tar.xz
wireguard-openbsd-8f6bfc5c6208112e1d462efecf52840ebb933e98.zip
Debug code is one thing, commenting out pclose is another...
-rw-r--r--usr.sbin/pkg_install/sign/sign.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/sign/sign.c b/usr.sbin/pkg_install/sign/sign.c
index 6dc8ba20b5b..953dd5e867e 100644
--- a/usr.sbin/pkg_install/sign/sign.c
+++ b/usr.sbin/pkg_install/sign/sign.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sign.c,v 1.1 1999/09/27 21:40:04 espie Exp $ */
+/* $OpenBSD: sign.c,v 1.2 1999/09/28 21:31:23 espie Exp $ */
/*-
* Copyright (c) 1999 Marc Espie.
*
@@ -70,9 +70,7 @@ retrieve_signature(filename, sign, userid)
return 0;
if (fread(sign, 1, SIGNSIZE, cmd) != SIGNSIZE)
return 0;
-#ifdef DEBUG_PGP
- printf("%d\n", pclose(cmd));
-#endif
+ (void)pclose(cmd);
return 1;
}