diff --git a/main.c b/main.c index dc78eb0..754299a 100644 --- a/main.c +++ b/main.c @@ -242,6 +242,7 @@ main(int argc, char *argv[]) continue; case 0: serve(infd, &in_sa); + exit(0); break; default: /* close the connection in the parent */