last minute fix for 2.0.2

This commit is contained in:
Axel Kittenberger 2011-01-20 19:33:50 +00:00
parent 15d680b79b
commit 6045128e35

View File

@ -897,7 +897,7 @@ l_exec(lua_State *L)
if (pipe_text) {
dup2(pipefd[0], STDIN_FILENO);
}
close_exec_fd(pipefd[0]);
// close_exec_fd(pipefd[0]);
/* if lsyncd runs as a daemon and has a logfile it will redirect
stdout/stderr of child processes to the logfile. */
if (is_daemon && settings.log_file) {