summaryrefslogtreecommitdiff
path: root/usr.bin/openssl/cms.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/openssl/cms.c')
-rw-r--r--usr.bin/openssl/cms.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/openssl/cms.c b/usr.bin/openssl/cms.c
index 4174960d7ad..a1d8bc13ab2 100644
--- a/usr.bin/openssl/cms.c
+++ b/usr.bin/openssl/cms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms.c,v 1.5 2015/10/17 07:51:10 semarie Exp $ */
+/* $OpenBSD: cms.c,v 1.6 2015/10/17 15:00:11 doug Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -136,8 +136,10 @@ cms_main(int argc, char **argv)
X509_VERIFY_PARAM *vpm = NULL;
if (single_execution) {
- if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath tty", NULL) == -1) {
perror("pledge");
+ exit(1);
+ }
}
args = argv + 1;