summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 70cb50e)
raw | patch | inline | side by side (parent: 70cb50e)
author | ciomaire <ciomaire@adobe.com> | |
Tue, 3 May 2016 11:41:14 +0000 (13:41 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Sun, 15 May 2016 08:33:54 +0000 (10:33 +0200) |
src/exec.c | patch | blob | history |
diff --git a/src/exec.c b/src/exec.c
index d560f465490dae28bb9241fafd04f35444e78625..83055daceb8d47d5c057e9c72c2d5bad30585441 100644 (file)
--- a/src/exec.c
+++ b/src/exec.c
char errbuf[1024];
ERROR ("exec plugin: fdopen (%i) failed: %s", fd,
sstrerror (errno, errbuf, sizeof (errbuf)));
- kill (pl->pid, SIGTERM);
- pl->pid = 0;
+ kill (pid, SIGTERM);
close (fd);
sfree (arg);
pthread_exit ((void *) 1);