diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/exec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Src/exec.c b/Src/exec.c index c71f3f331..fa148756b 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -303,13 +303,11 @@ zfork(struct timeval *tv) zerr("fork failed: %e", errno); return -1; } - if (!pid) { - winch_unblock(); #ifdef HAVE_GETRLIMIT + if (!pid) /* set resource limits for the child process */ setlimits(NULL); #endif - } return pid; } |