*** mon.c.orig 2004-01-04 16:48:11.466479096 +0100 --- mon.c 2004-01-04 16:53:07.863220236 +0100 *************** *** 165,177 **** /** * Check that the process named by the file still exists; if not, * return EXIT_GONE. **/ static int dcc_mon_check_orphans(struct dcc_history *monl) { ! return kill(monl->cpid, 0) ? EXIT_GONE : 0; } --- 165,177 ---- /** * Check that the process named by the file still exists; if not, * return EXIT_GONE. **/ static int dcc_mon_check_orphans(struct dcc_history *monl) { ! return (kill(monl->cpid, 0) && errno != EPERM) ? EXIT_GONE : 0; }