diff --git a/main.c b/main.c index 7223b24..e9d0a06 100644 --- a/main.c +++ b/main.c @@ -240,6 +240,9 @@ main(int argc, char *argv[]) "Entry not found"); } + /* Open a new process group */ + setpgid(0,0); + handlesignals(sigcleanup); /* bind socket */