diff options
Diffstat (limited to 'usr.bin/openssl/errstr.c')
-rw-r--r-- | usr.bin/openssl/errstr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/openssl/errstr.c b/usr.bin/openssl/errstr.c index 7bd97d99b04..0d31d4fc85a 100644 --- a/usr.bin/openssl/errstr.c +++ b/usr.bin/openssl/errstr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: errstr.c,v 1.5 2015/10/10 22:28:51 doug Exp $ */ +/* $OpenBSD: errstr.c,v 1.6 2015/10/17 15:00:11 doug Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -99,8 +99,10 @@ errstr_main(int argc, char **argv) int ret = 0; if (single_execution) { - if (pledge("stdio rpath", NULL) == -1) + if (pledge("stdio rpath", NULL) == -1) { perror("pledge"); + exit(1); + } } memset(&errstr_config, 0, sizeof(errstr_config)); |