diff options
Diffstat (limited to 'smash/exec.c')
| -rw-r--r-- | smash/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smash/exec.c b/smash/exec.c index 8c20126..603f93d 100644 --- a/smash/exec.c +++ b/smash/exec.c @@ -63,7 +63,7 @@ void execute_line(char *line) close(pipefd[1][PIPE_OUT]); close(pipefd[1][PIPE_IN]); - exec((const char **)argv); + exec((const char**)argv); wff(STDERR_FD, "command not found: %s\n", argv[0]); exit(-1); } @@ -85,7 +85,7 @@ void execute_line(char *line) list_node_t *node = pids->first; for (; node; node = node->next) { - wait4((int)node->value, 0, 0); + wait4((int)node->value, 0, 0, 0); } free_expression(exps); |