Revert dup2() checking in syslogger.c

Stephen Frost <sfrost@snowman.net>

Commit: aef61bf433a9e9b6e2d98b0fdcce8562c3ad526f
Author: Stephen Frost <sfrost@snowman.net>
Date: 2014-01-28T13:40:41Z
Releases: 9.4.0
Revert dup2() checking in syslogger.c

Per the expanded comment-

As we're just trying to reset these to go to DEVNULL, there's not
much point in checking for failure from the close/dup2 calls here,
if they fail then presumably the file descriptors are closed and
any writes will go into the bitbucket anyway.

Pointed out by Tom.

Files

PathChange+/−
src/backend/postmaster/syslogger.c modified +7 −8