]> git.ipfire.org Git - thirdparty/git.git/commit - daemon.c
daemon: send more error messages to the syslog
authorJohannes Sixt <j.sixt@viscovery.net>
Mon, 25 Feb 2008 13:25:20 +0000 (14:25 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Feb 2008 22:47:36 +0000 (14:47 -0800)
commit22665bbaab799b1f20a23039a5c759cd35d36939
treeb2ce5c69dad47f3e6408545218cddb9943f70cc8
parent81fa145917c40b68a5e2cca6afc6a10cdfdbd25b
daemon: send more error messages to the syslog

There were a number of die() calls before the syslog was opened; hence,
these error messages would have been sent to /dev/null in detached mode.
Now we install the daemon-specific die routine before any error message is
generated so that these messages go to the syslog.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c