--- ray/src/rt/persist.c 2004/09/17 21:43:50 2.35 +++ ray/src/rt/persist.c 2004/09/19 07:24:37 2.36 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: persist.c,v 2.35 2004/09/17 21:43:50 greg Exp $"; +static const char RCSid[] = "$Id: persist.c,v 2.36 2004/09/19 07:24:37 greg Exp $"; #endif /* * Routines for persistent rtrace and rpict processes. @@ -335,6 +335,7 @@ io_process(void) /* just act as go-between for actual } while ((nr -= n) > 0); } } + kill(pid, SIGTERM); /* no more process to feed, so... */ waitpid(pid, 0, 0); /* wait for feeder process */ _exit(status); formerr: