Bug#349003: wzdftpd pidfile issues and more...

2009-01-29 Thread Andreas Henriksson
On Thu, Jan 29, 2009 at 09:39:57AM +0100, Pierre Chifflier wrote: > This is right, the first process forks and exits (so it does not get the > return code). Suggestions accepted for a better way. Do the complete initialization (all things needed to pass the "no options left but kill ourself") firs

Bug#349003: wzdftpd pidfile issues and more...

2009-01-29 Thread Pierre Chifflier
On Wed, Jan 28, 2009 at 08:04:20PM +0100, Andreas Henriksson wrote: > Hello! > > I had a really quick look and there seems to be several issues. > > Next after parsing the command line options, the server forks and kills > off the parent (in wzdftpd/wzd_main.c line 402). This leaves no room for >

Bug#349003: wzdftpd pidfile issues and more...

2009-01-28 Thread Andreas Henriksson
Hello! I had a really quick look and there seems to be several issues. Next after parsing the command line options, the server forks and kills off the parent (in wzdftpd/wzd_main.c line 402). This leaves no room for returning a proper error/exit code if something in the startup process fails. Th