Tim Woodall ([EMAIL PROTECTED]) wrote:
> On 10 May 2002, Peter Riocreux wrote:
> 
> I've noticed this one but my restart script deletes the file.
> 
> It's this bit of code:
> 
>                                         report(0, REPORT_INFO, "Sending the kill 
>signal to %d and waiting...\n",pid);
>                                         kill(pid, SIGTERM);
> 
> 
> Here we should check the return value of kill - maybe even do a kill(pid,0)
> 
> If the process doesn't exist then just delete the file.
> 
> Regards,
> 
> Tim.

What we can do is to add an alarm, this would be a kind of timeout when
we decide to continue, delete the file and write our won pid file.

The problem is we entered in a release candidate state, so the code should
stay freezed... just bugfixes may be accepted. But this patch is a whole
new feature so we can add this to 1.2 patch queue.

-- 
Edouard Gomez


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe

        

Reply via email to