diff options
Diffstat (limited to 'camel/camel-filter-driver.c')
-rw-r--r-- | camel/camel-filter-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c index bd3478e64e..789ec90cba 100644 --- a/camel/camel-filter-driver.c +++ b/camel/camel-filter-driver.c @@ -695,7 +695,7 @@ pipe_to_system (struct _ESExp *f, int argc, struct _ESExpResult **argv, CamelFil if (maxfd > 0) { for (fd = 0; fd < maxfd; fd++) { if (fd != STDIN_FILENO && fd != STDOUT_FILENO && fd != STDERR_FILENO) - close (fd); + fcntl (fd, F_SETFD, FD_CLOEXEC); } } |