summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/sign
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-09-28 21:31:24 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-09-28 21:31:24 +0000
commit462de79461f67f2f6f66c239b94cd7028046be3e (patch)
tree93079d5774d39a0019e68202dfadc76ae86c01c9 /usr.sbin/pkg_install/sign
parent3271ef2c0bbab76d03e21c88d8b1a5febf93767b (diff)
Debug code is one thing, commenting out pclose is another...
Diffstat (limited to 'usr.sbin/pkg_install/sign')
-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;
}