[OLSR-users] olsr forking to background

Andreas Tønnesen (spam-protected)
Thu Mar 10 17:30:03 CET 2005


Yes you are right. I think the most protable way is to return either
EXIT_SUCCESS or EXIT_FAILURE. I'm to used to think function calls I guess
:)

What I suggested would be a hack(if working at all). I'll add a -nofork
option.

 -Andreas

> On Thu, Mar 10, 2005 at 05:14:56PM +0100, Andreas Tnnesen wrote:
>> Hi,
>>
>> Wouldn't it be easier if I modify olsrd to return the PID of the child
>> it
>> has forked when running at debuglevel 0?
>>
> hm, isnt a unix program supposed to return 0 if everything was ok?
>
> i dont know - just my experience...
>
> ciao,
> aaron.
>
>


---------
Andreas Tønnesen
http://www.olsr.org



More information about the Olsr-users mailing list