blob: fe84f08e8d0e7d6260bde4d7dc5aa971455c6dae (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
diff --git a/src/scanadf.c b/src/scanadf.c
--- a/src/scanadf.c
+++ b/src/scanadf.c
@@ -1195,6 +1195,7 @@
case 0:
/* in child process */
+ signal(SIGCHLD, SIG_DFL);
sprintf(cmd, "%s '%s'", script, fname);
/* system(cmd); */
execle(script, script, fname, NULL, environ);
|