diff options
Diffstat (limited to 'daemon/hexdump.c')
-rw-r--r-- | daemon/hexdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/hexdump.c b/daemon/hexdump.c index 36986135..7fa5fbd8 100644 --- a/daemon/hexdump.c +++ b/daemon/hexdump.c @@ -34,7 +34,7 @@ do_hexdump (const char *path) char *out, *err; CHROOT_IN; - fd = open (path, O_RDONLY); + fd = open (path, O_RDONLY|O_CLOEXEC); CHROOT_OUT; if (fd == -1) { |