~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rand/noise.c (noise_filter): Invoke the shell properly.
[catacomb]
/
rand
/
noise.c
diff --git
a/rand/noise.c
b/rand/noise.c
index
a168385
..
aa45e03
100644
(file)
--- a/
rand/noise.c
+++ b/
rand/noise.c
@@
-294,7
+294,7
@@
int noise_filter(rand_pool *r, int good, const char *c)
/* --- Start the process up --- */
/* --- Start the process up --- */
- execle("/bin/sh", "-c", c, (char *)0, env);
+ execle("/bin/sh", "
sh", "
-c", c, (char *)0, env);
_exit(127);
}
_exit(127);
}