diff options
author | phud <phud@yandex-team.ru> | 2022-02-10 16:51:45 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:45 +0300 |
commit | d96d43aa41d3bdd060cd182ca9c472e667bfcf2c (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/shellcommand.cpp | |
parent | 0a405889878cba55d4d7cf8b5256bacc364bee9c (diff) | |
download | ydb-d96d43aa41d3bdd060cd182ca9c472e667bfcf2c.tar.gz |
Restoring authorship annotation for <phud@yandex-team.ru>. 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 953bb134d1..b1989b5c8c 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); } } |