rand/noise.c (noise_filter): Invoke the shell properly.
[catacomb] / rand / noise.c
index a168385..aa45e03 100644 (file)
@@ -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);
   }