diff options
Diffstat (limited to 'src/nohup.c')
-rw-r--r-- | src/nohup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nohup.c b/src/nohup.c index 6c9f54231..f476d8483 100644 --- a/src/nohup.c +++ b/src/nohup.c @@ -150,7 +150,7 @@ main (int argc, char **argv) saved_stderr_fd = dup (STDERR_FILENO); if (saved_stderr_fd != -1 - && ! set_cloexec_flag (saved_stderr_fd, true)) + && set_cloexec_flag (saved_stderr_fd, true) != 0) error (NOHUP_FAILURE, errno, _("failed to set the copy of stderr to close on exec")); |