From: Jim Meyering Date: Sun, 4 Apr 2004 06:33:44 +0000 (+0000) Subject: (main): Adjust to new calling convention for set_cloexec_flag. X-Git-Tag: v5.3.0~1884 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a39890f3c4dae9db38cc16387f663d07732a66e;p=thirdparty%2Fcoreutils.git (main): Adjust to new calling convention for set_cloexec_flag. --- diff --git a/src/nohup.c b/src/nohup.c index 6c9f542310..f476d84835 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"));