Don't save the context within execprog()
authormarkus schnalke <meillo@marmaro.de>
Thu, 15 Jan 2015 16:08:55 +0000 (17:08 +0100)
committermarkus schnalke <meillo@marmaro.de>
Thu, 15 Jan 2015 16:08:55 +0000 (17:08 +0100)
This context_save() call was copied there accidently.

sbr/execprog.c

index 6a4a912..9cc8879 100644 (file)
@@ -11,9 +11,7 @@ execprog(char *cmd, char **arg)
 {
        pid_t pid;
 
-       context_save();
        fflush(stdout);
-
        switch (pid = fork()) {
        case -1:
                /* fork error */