diff options
Diffstat (limited to 'src/callproc.c')
| -rw-r--r-- | src/callproc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c index 8ed28556e0d..dc3ca4ac102 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -1315,6 +1315,9 @@ child_setup (int in, int out, int err, char **new_argv, bool set_pgrp, | |||
| 1315 | #else /* not WINDOWSNT */ | 1315 | #else /* not WINDOWSNT */ |
| 1316 | 1316 | ||
| 1317 | #ifndef MSDOS | 1317 | #ifndef MSDOS |
| 1318 | |||
| 1319 | restore_nofile_limit (); | ||
| 1320 | |||
| 1318 | /* Redirect file descriptors and clear the close-on-exec flag on the | 1321 | /* Redirect file descriptors and clear the close-on-exec flag on the |
| 1319 | redirected ones. IN, OUT, and ERR are close-on-exec so they | 1322 | redirected ones. IN, OUT, and ERR are close-on-exec so they |
| 1320 | need not be closed explicitly. */ | 1323 | need not be closed explicitly. */ |