From: markus schnalke Date: Thu, 15 Jan 2015 16:08:55 +0000 (+0100) Subject: Don't save the context within execprog() X-Git-Tag: mmh-0.2-RC1~71 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=bcee4360d0113d2cbc71c9b0d13495327894e454 Don't save the context within execprog() This context_save() call was copied there accidently. --- diff --git a/sbr/execprog.c b/sbr/execprog.c index 6a4a912..9cc8879 100644 --- a/sbr/execprog.c +++ b/sbr/execprog.c @@ -11,9 +11,7 @@ execprog(char *cmd, char **arg) { pid_t pid; - context_save(); fflush(stdout); - switch (pid = fork()) { case -1: /* fork error */