dont double close pipe fds

This commit is contained in:
Axel Kittenberger 2011-01-20 12:46:10 +00:00
parent 117a64d7e1
commit 9104e5d87e

View File

@ -935,7 +935,6 @@ l_exec(lua_State *L)
pm->pos = len;
observe_fd(pipefd[1], NULL, pipe_writey, pipe_tidy, pm);
}
close(pipefd[0]);
}
free(argv);
lua_pushnumber(L, pid);