diff options
author | Christian Pointner <equinox@spreadspace.org> | 2010-11-22 18:35:40 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2010-11-22 18:35:40 +0000 |
commit | d46f140826000fb8cfd5d0522e0ad32abeeaecc6 (patch) | |
tree | 1f3b5dc6ff7ee6b6a8adc6db368eb8fb6a63f338 /src | |
parent | exec works now with prepared stdio setup (diff) |
cleanup
git-svn-id: https://svn.spreadspace.org/gcsd/trunk@51 ac14a137-c7f1-4531-abe0-07747231d213
Diffstat (limited to 'src')
-rw-r--r-- | src/l_util.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/l_util.c b/src/l_util.c index 0b943a5..9cce024 100644 --- a/src/l_util.c +++ b/src/l_util.c @@ -392,9 +392,6 @@ static int l_util_exec(lua_State *L) } execve(script, argv, evp); - // if execve returns, an error occurred, but logging doesn't work - // because we closed all file descriptors, so just write errno to - // pipe and call exit int ret = write(pipefd[1], (void*)(&errno), sizeof(errno)); free_ptrptr(argv); free_ptrptr(evp); |