diff options
author | Lucas Werkmeister <mail@lucaswerkmeister.de> | 2018-04-04 00:13:07 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-09 11:25:48 +0900 |
commit | e67d906d735166f2068f1e4cc393220483a97f30 (patch) | |
tree | 426596976e6283f4137f106ba68d893eb712dd6a /t/t5400-send-pack.sh | |
parent | daemon: add --log-destination=(stderr|syslog|none) (diff) | |
download | tgif-e67d906d735166f2068f1e4cc393220483a97f30.tar.xz |
daemon.c: fix condition for redirecting stderr
Since the --log-destination option was added in 0c591cacb ("daemon: add
--log-destination=(stderr|syslog|none)", 2018-02-04) with the explicit
goal of allowing logging to stderr when running in inetd mode, we should
not always redirect stderr to /dev/null in inetd mode, but rather only
when stderr is not being used for logging.
Signed-off-by: Lucas Werkmeister <mail@lucaswerkmeister.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5400-send-pack.sh')
0 files changed, 0 insertions, 0 deletions