diff options
Diffstat (limited to 'include/raul')
-rw-r--r-- | include/raul/Process.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/raul/Process.hpp b/include/raul/Process.hpp index d3ef0a9..e92effc 100644 --- a/include/raul/Process.hpp +++ b/include/raul/Process.hpp @@ -46,7 +46,7 @@ public: // (in child) // Close all nonstandard file descriptors - rlimit max_fds {}; + rlimit max_fds{}; getrlimit(RLIMIT_NOFILE, &max_fds); for (rlim_t fd = 3; fd < max_fds.rlim_cur; ++fd) { close(static_cast<int>(fd)); |