diff --git a/src/tunnel.c b/src/tunnel.c index e48db40ee76cfbda1d7b42d10909f58353b15d4b..bc294a5fc6755b53959a6de15faecd40b72a01a2 100644 --- a/src/tunnel.c +++ b/src/tunnel.c @@ -144,7 +144,8 @@ static int pppd_run(struct tunnel *tunnel) close(tunnel->ssl_socket); execvp(args[0], args); - exit(errno); + fprintf(stderr, "execvp: %s\n", strerror(errno)); + exit(EXIT_FAILURE); } // Set non-blocking