Skip to content
Snippets Groups Projects
  • Stephen Frost's avatar
    aef61bf4
    Revert dup2() checking in syslogger.c · aef61bf4
    Stephen Frost authored
    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.
    aef61bf4
    History
    Revert dup2() checking in syslogger.c
    Stephen Frost authored
    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.