diff options
Diffstat (limited to 'src/hush.c')
| -rw-r--r-- | src/hush.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -87,7 +87,7 @@ int main(int argc, char **argv) { } } - print_commands(stdout, cmds); + // print_commands(stdout, cmds); for (command *cmd = cmds; cmd; cmd = cmd->next) { if (cmd->pid > 0) { @@ -97,12 +97,13 @@ int main(int argc, char **argv) { } } - free_tokens: - destroy_tokens(parsed_cmd); free_commands: destroy_commands(cmds); + free_tokens: + destroy_tokens(parsed_cmd); + draw_prompt: fprintf(stdout, "$ "); } |