diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -15,11 +15,10 @@ int main() { while (1) { line = readline("$ "); if (line[0] == '\0') continue; - if (strcmp(line, "exit") == 0) exit(0); add_history(line); Ast ast = lex(line); PipelineTree pltree = process_ast(ast, &shstate); - execute_pipeline_tree(pltree); + execute_pipeline_tree(pltree, &shstate); } free(line); } |
