daemon: make --inetd and --detach incompatible
authorErik Faye-Lund <kusmabite@gmail.com>
Thu, 4 Nov 2010 01:35:23 +0000 (02:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Nov 2010 23:53:52 +0000 (16:53 -0700)
Since --inetd makes main return with the result of execute() before
daemonize is gets called, these two options are already incompatible.

Document it, and add an error if attempted.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found