Fix another bug in com_touch().
[paraslash.git] / exec.c
diff --git a/exec.c b/exec.c
index da7a356..86362c3 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -49,7 +49,6 @@ static int para_exec(pid_t *pid, const char *file, char *const *const args, int
        }
        *pid = ret;
        if (!(*pid)) { /* child */
-               close_listed_fds(); /* close unneeded fds */
                if (fds[0] >= 0) {
                        if (fds[0]) {
                                close(in[1]);