diff options
author | phud <[email protected]> | 2022-02-10 16:51:45 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:51:45 +0300 |
commit | d96d43aa41d3bdd060cd182ca9c472e667bfcf2c (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/shellcommand.cpp | |
parent | 0a405889878cba55d4d7cf8b5256bacc364bee9c (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/shellcommand.cpp')
-rw-r--r-- | util/system/shellcommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/shellcommand.cpp b/util/system/shellcommand.cpp index 953bb134d12..b1989b5c8c3 100644 --- a/util/system/shellcommand.cpp +++ b/util/system/shellcommand.cpp @@ -14,7 +14,7 @@ #include <util/stream/pipe.h> #include <util/stream/str.h> #include <util/string/cast.h> -#include <util/system/info.h> +#include <util/system/info.h> #include <errno.h> @@ -721,7 +721,7 @@ void TShellCommand::TImpl::OnFork(TPipes& pipes, sigset_t oldmask, char* const* } if (CloseAllFdsOnExec) { - for (int fd = NSystemInfo::MaxOpenFiles(); fd > STDERR_FILENO; --fd) { + for (int fd = NSystemInfo::MaxOpenFiles(); fd > STDERR_FILENO; --fd) { fcntl(fd, F_SETFD, FD_CLOEXEC); } } |