git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix condition for redirecting stderr

From
Todd Zullinger <tmz@pobox.com>
Date
Apr 9, 2018, 02:23 UTC
Message-ID
<20180409022303.GS29680@zaya.teonanacatl.net>
In-Reply-To
<20180403221307.29194-1-mail@lucaswerkmeister.de>
Lucas Werkmeister wrote:
Show 5 quoted lines
> 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.

Perhaps 's/^F/daemon: f/' on the subject? (Junio may well already have done so while queueing locally.)

The patch itself looks reasonable (to my relatively untrained eyes).
-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hardware:  the parts of a computer that can be kicked.
    -- Jeff Pesis
Previous: Lucas WerkmeisterNext: Lucas Werkmeister
Message 2 of 3 in “Fix condition for redirecting stderr”
  1. Fix condition for redirecting stderrLucas Werkmeister, Apr 3, 2018
  2. Todd ZullingerApr 9, 2018
  3. Lucas WerkmeisterApr 9, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.