/* exit the parent process; */
if (pid)
exit(EXIT_SUCCESS);
/* child: start a new session, and avoid getting sighup */
setsid();
}
/* print a message saying what we're waiting for */