have 'openssl pkcs7' exit with code 1 on error instead of 0.
authorRichard Levitte <levitte@openssl.org>
Thu, 27 Jun 2002 10:26:40 +0000 (10:26 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 27 Jun 2002 10:26:40 +0000 (10:26 +0000)
PR: 119

apps/pkcs7.c

index 1cc91509a2b017efce953a683dbe5949d2921c5f..0cced40f0f10a8ea8bb1b527a57bd18ca6c46c8a 100644 (file)
@@ -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();