diff -Naur dcron.orig/main.c dcron/main.c --- dcron.orig/main.c 2006-03-24 08:44:48.000000000 -0500 +++ dcron/main.c 2006-03-24 08:49:20.000000000 -0500 @@ -131,6 +131,10 @@ close(fdpid); exit(0); } + + if (setsid() == -1) { + perror("new session"); + } } /*