--- nssl/nssl.c.orig 2016-02-12 11:43:42.846317956 +0100 +++ nssl/nssl.c 2016-02-12 11:44:57.012536251 +0100 @@ -158,7 +158,7 @@ ssl_close_all (cnx.sock, cnx.ssl_sock, cnx.ssl_ctx); close (sock); } - exit (1); + exit (0); } if (!f_ssl) @@ -182,7 +182,7 @@ multiplex_loop (STDIN_FILENO, STDOUT_FILENO, cnx.sock); if (!f_autist) fprintf (stderr, "remote end closed connection\n"); } - exit (1); + exit (0); } else { @@ -203,7 +203,7 @@ multiplex_loop (STDIN_FILENO, STDOUT_FILENO, sock); if (!f_autist) fprintf (stderr, "remote end closed connection\n"); } - exit (1); + exit (0); } } @@ -227,7 +227,7 @@ ssl_multiplex_loop (cnx.ssl_sock, STDIN_FILENO, STDOUT_FILENO, cnx.sock); if (!f_autist) fprintf (stderr, "remote end closed connection\n"); } - exit (1); + exit (0); } else { @@ -249,7 +249,7 @@ ssl_multiplex_loop (cnx.ssl_sock, STDIN_FILENO, STDOUT_FILENO, sock); if (!f_autist) fprintf (stderr, "remote end closed connection\n"); } - exit (1); + exit (0); } return 0;