diff options
author | Jim Meyering <jim@meyering.net> | 2004-04-04 06:33:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-04-04 06:33:44 +0000 |
commit | 1a39890f3c4dae9db38cc16387f663d07732a66e (patch) | |
tree | bcab6d76d784847b5a8dffa9190f187024bdd526 /src/nohup.c | |
parent | e71b27609e3d50ae77ace85b1a12b33a2d967cec (diff) | |
download | coreutils-1a39890f3c4dae9db38cc16387f663d07732a66e.tar.xz |
(main): Adjust to new calling convention for set_cloexec_flag.
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")); |