From a4dd540de833d5aec625a4c3c16ae37db4cd4682 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 31 Jan 2015 19:03:53 +0000 Subject: Bugfix: ifthenelse (thanks Olivier Brunel) --- src/execline/ifthenelse.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/execline/ifthenelse.c b/src/execline/ifthenelse.c index f9fb9d7..9960222 100644 --- a/src/execline/ifthenelse.c +++ b/src/execline/ifthenelse.c @@ -41,7 +41,6 @@ int main (int argc, char const **argv, char const *const *envp) strerr_dief1x(100, "unterminated else block") ; argv[argc1] = 0 ; - pid = fork() ; pid = el_spawn0(argv[0], argv, envp) ; if (!pid) strerr_diefu2sys(111, "spawn ", argv[0]) ; if (wait_pid(pid, &wstat) == -1) -- cgit v1.2.3