mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-12 22:27:50 +00:00
last minute fix for 2.0.2
This commit is contained in:
parent
15d680b79b
commit
6045128e35
2
lsyncd.c
2
lsyncd.c
@ -897,7 +897,7 @@ l_exec(lua_State *L)
|
|||||||
if (pipe_text) {
|
if (pipe_text) {
|
||||||
dup2(pipefd[0], STDIN_FILENO);
|
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
|
/* if lsyncd runs as a daemon and has a logfile it will redirect
|
||||||
stdout/stderr of child processes to the logfile. */
|
stdout/stderr of child processes to the logfile. */
|
||||||
if (is_daemon && settings.log_file) {
|
if (is_daemon && settings.log_file) {
|
||||||
|
Loading…
Reference in New Issue
Block a user