On Wed, Jun 29, 2005 at 11:30:02AM +0200, Michael Petuschak wrote:
> but tcgetpgrp is returning 0 all the time when run by cron.

It looks like a freebsd bug.

> So I would suggest changing
> 
> if(p!=-1 && p!=getpgrp()) return;
> to
> if(p!=-1 && p!=0 && p!=getpgrp()) return;
> 
> I would assume it's safe for Linux as well...

I have changed that.

-- 
   Alexander.

Reply via email to