diff options
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/executor/common.h b/executor/common.h index b31500802..fdbf4bcb1 100644 --- a/executor/common.h +++ b/executor/common.h @@ -658,7 +658,8 @@ static void loop(void) close(kOutPipeFd); #endif execute_one(); -#if SYZ_HAVE_CLOSE_FDS && !SYZ_THREADED +#if !SYZ_EXECUTOR && SYZ_HAVE_CLOSE_FDS && !SYZ_THREADED + // Executor's execute_one has already called close_fds. close_fds(); #endif doexit(0); |
