diff options
author | Christian Pointner <equinox@helsinki.at> | 2011-03-09 18:58:14 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2011-03-09 18:58:14 (GMT) |
commit | c0479f190fd22d7e6a2fa81f9eda2bd79a4b87b6 (patch) | |
tree | 435d2de991643b72a10d27011e45193e348d840e /nopsyncd/l_pipe.c | |
parent | 9f014d5b9735a63da0e7d783f4c67a984140f7ab (diff) |
exit whole process is one of the threads terminates
Diffstat (limited to 'nopsyncd/l_pipe.c')
-rw-r--r-- | nopsyncd/l_pipe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nopsyncd/l_pipe.c b/nopsyncd/l_pipe.c index 6f5a17a..5a99809 100644 --- a/nopsyncd/l_pipe.c +++ b/nopsyncd/l_pipe.c @@ -35,11 +35,10 @@ int pipe_init() return pipe(pipefds_); } -int pipe_close() +void pipe_close() { close(pipefds_[0]); close(pipefds_[1]); - return 0; } static int l_pipe_signal(lua_State *L) |