daemon.c: fix arg parsing bugs
commita8883288fa1240996a9c5715e060a88a03796fe0
authorAndreas Ericsson <exon@op5.se>
Wed, 16 Nov 2005 23:38:29 +0000 (17 00:38 +0100)
committerJunio C Hamano <junkio@cox.net>
Thu, 17 Nov 2005 04:34:26 +0000 (16 20:34 -0800)
tree7e2a9e6f473aa367b6ce3753372ffb011dc436ad
parentfbba222f5de21aafa566430a8ae7cf6f4ab163b1
daemon.c: fix arg parsing bugs

Allow --init-timeout and --timeout to be specified without falling
through to usage().

Make sure openlog() is called even if implied by --inetd, or messages
will be sent to wherever LOG_USER ends up.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
daemon.c