diff --git a/src/slurmd/slurmd/req.c b/src/slurmd/slurmd/req.c index 656cdb5d0df8e1ace832b8b733089fc1234d1b05..2a3024d0b3cace31725796abd65e9fb3c456f23f 100644 --- a/src/slurmd/slurmd/req.c +++ b/src/slurmd/slurmd/req.c @@ -866,7 +866,7 @@ _forkexec_slurmstepd(uint16_t type, void *req, * is an arbitrary number based off test7.9. */ for (i=3; i<256; i++) { - fcntl(i, F_SETFD, FD_CLOEXEC); + (void) fcntl(i, F_SETFD, FD_CLOEXEC); } /*