diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2008-12-26 10:46:25 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-26 19:07:56 -0800 |
commit | c569b1fee151e467854ca268997f4f3baaf73564 (patch) | |
tree | 3790486e3c820cf637e2bd31ac889f579d3dbc07 /ll-merge.c | |
parent | 8104ebfe8276657ee803cca7eb8665a78cf3ef83 (diff) | |
download | git-c569b1fee151e467854ca268997f4f3baaf73564.tar.gz git-c569b1fee151e467854ca268997f4f3baaf73564.tar.xz |
daemon: handle freopen() failure
Die if stderr couldn't be sent to /dev/null when operating in inetd
mode and report the error message from the OS.
This fixes a compiler warning about the return value of freopen()
being ignored on Ubuntu 8.10.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'll-merge.c')
0 files changed, 0 insertions, 0 deletions