> -----Original Message-----
> From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 30, 2001 12:57 AM
> To: [EMAIL PROTECTED]
> Subject: sub read_config is killing my daemon
> 
> 
> Hey All,
> 
> I have a perl script here (below) that becomes a daemon when 
> ever I run
> it.  But when ever it goes to read the script it it dies on me?
> 
> Can any one tell me what is going on here?
> 
> If I remark (#) the read_config(); in the while loop the 
> daemon doesn't
> break.  Does any one here have any suggestions?

I presume the open() is failing. You have reopened STDERR on /dev/null,
so the message from die() is going to the bit bucket. Better to send
STDERR to a log file.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to