From 5585f4eca4de03d45c7d0ab0c4f711a7aa88a46c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 27 Jun 2002 10:26:40 +0000 Subject: have 'openssl pkcs7' exit with code 1 on error instead of 0. PR: 119 --- apps/pkcs7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/pkcs7.c b/apps/pkcs7.c index 1cc91509a2..0cced40f0f 100644 --- a/apps/pkcs7.c +++ b/apps/pkcs7.c @@ -89,7 +89,7 @@ int MAIN(int argc, char **argv) int informat,outformat; char *infile,*outfile,*prog; int print_certs=0,text=0,noout=0; - int ret=0; + int ret=1; char *engine=NULL; apps_startup(); -- cgit v1.2.3