Re: [PATCH] daemon: add --no-syslog to undo implicit --syslog
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 23, 2018, 18:30 UTC
- Message-ID
- <xmqqh8rcig0x.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <87shaxh2b9.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 8 quoted lines
> On Mon, Jan 22 2018, Lucas Werkmeister jotted: > >> Several options imply --syslog, without there being a way to disable it >> again. This commit adds that option. > > Just two options imply --syslog, --detach & --inetd, unless I've missed > something, anyway 2 != several, so maybe just say "The --detach and > --inetd options imply --syslog ...".
Correct. Moreover, --detach completely dissociates the process from the original set of standard file descriptors by first closing them and then connecting it to "/dev/null", so it will be nonsense to use this new option with it.