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 1cc9150..0cced40 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 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();
        char *engine=NULL;
 
        apps_startup();