diff options
Diffstat (limited to 'daemon/strings.c')
-rw-r--r-- | daemon/strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/strings.c b/daemon/strings.c index d94ac44e..847b45c8 100644 --- a/daemon/strings.c +++ b/daemon/strings.c @@ -41,7 +41,7 @@ do_strings_e (const char *encoding, const char *path) } CHROOT_IN; - fd = open (path, O_RDONLY); + fd = open (path, O_RDONLY|O_CLOEXEC); CHROOT_OUT; if (fd == -1) { |