Do fflush(stdout) when there was an error.

This commit is contained in:
Bodo Möller 2000-02-24 20:13:27 +00:00
parent a610374cb2
commit 0dd0cbf554

View File

@ -235,6 +235,7 @@ int main(int argc, char *argv[])
exit(0);
err:
BIO_puts(out,"1\n"); /* make sure bc fails if we are piping to it */
fflush(stdout);
ERR_load_crypto_strings();
ERR_print_errors_fp(stderr);
exit(1);