summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2010-02-18 15:49:41 +0100
committerSamuel Lidén Borell <samuel@slbdata.se>2010-02-18 16:04:01 +0100
commit69da48025407f22d293736fe241bbcaa98c60ec0 (patch)
tree965841f280e66703325263ad92803117e14a96af /plugin
parent60e6069a52a761e33db81349652eaff48bd5d83c (diff)
downloadfribid-69da48025407f22d293736fe241bbcaa98c60ec0.tar.gz
fribid-69da48025407f22d293736fe241bbcaa98c60ec0.tar.bz2
fribid-69da48025407f22d293736fe241bbcaa98c60ec0.zip
Removed WNOHANG from waitpid call because it left zombie processes
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/ipc.c b/plugin/ipc.c
index f23e51a..efd68d5 100644
--- a/plugin/ipc.c
+++ b/plugin/ipc.c
@@ -105,7 +105,7 @@ static void openInteractivePipes(PipeInfo *pipeinfo, Plugin *plugin) {
static void closePipes(PipeInfo *pipeinfo) {
fclose(pipeinfo->out);
fclose(pipeinfo->in);
- waitpid(pipeinfo->child, NULL, WNOHANG);
+ waitpid(pipeinfo->child, NULL, 0);
}