From 1a39890f3c4dae9db38cc16387f663d07732a66e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 4 Apr 2004 06:33:44 +0000 Subject: (main): Adjust to new calling convention for set_cloexec_flag. --- src/nohup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nohup.c') 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")); -- cgit v1.2.3-54-g00ecf