Flip the switch to stop draining threads before exec (!)

This commit is contained in:
ridiculousfish
2012-03-09 11:28:24 -08:00
parent d173bb6e0a
commit 14a35e7c21
3 changed files with 3 additions and 4 deletions

View File

@@ -1255,7 +1255,7 @@ void exec( parser_t &parser, job_t *j )
if (g_log_forks) {
printf("forking for '%s' in '%ls'\n", actual_cmd, reader_current_filename());
}
pid = execute_fork(true /* must drain threads */);
pid = execute_fork(false);
if( pid == 0 )
{
/*