diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-31 19:03:53 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-31 19:03:53 +0000 |
commit | a4dd540de833d5aec625a4c3c16ae37db4cd4682 (patch) | |
tree | d7e2e309a89dc3c99f4f5463cdf04c1642ead04c | |
parent | b9cdc9dbfcf776674d1e8c82e97f0250a312cf35 (diff) | |
download | execline-a4dd540de833d5aec625a4c3c16ae37db4cd4682.tar.xz |
Bugfix: ifthenelse (thanks Olivier Brunel)
-rw-r--r-- | src/execline/ifthenelse.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) |