~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df40b08
)
rand/noise.c (noise_filter): Invoke the shell properly.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 13 Jul 2013 15:34:40 +0000
(16:34 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 13 Mar 2014 01:51:43 +0000
(
01:51
+0000)
This has been buggered forever. :-/
rand/noise.c
patch
|
blob
|
blame
|
history
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 --- */
- execle("/bin/sh", "-c", c, (char *)0, env);
+ execle("/bin/sh", "
sh", "
-c", c, (char *)0, env);
_exit(127);
}