From: Mark Wooding Date: Sat, 13 Jul 2013 15:34:40 +0000 (+0100) Subject: rand/noise.c (noise_filter): Invoke the shell properly. X-Git-Tag: 2.1.7~14 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/65e148623f95a1976e8a71846993fe0e6abe081f rand/noise.c (noise_filter): Invoke the shell properly. This has been buggered forever. :-/ --- diff --git a/rand/noise.c b/rand/noise.c index a1683858..aa45e03b 100644 --- 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); }