author | Johannes Sixt <j.sixt@viscovery.net> | |
Mon, 25 Feb 2008 13:25:20 +0000 (14:25 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 27 Feb 2008 22:47:36 +0000 (14:47 -0800) | ||
commit | 22665bbaab799b1f20a23039a5c759cd35d36939 | |
tree | b2ce5c69dad47f3e6408545218cddb9943f70cc8 | tree | snapshot |
parent | 81fa145917c40b68a5e2cca6afc6a10cdfdbd25b | commit | diff |
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>
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 | diff | blob | history |