aboutsummaryrefslogtreecommitdiffstats
path: root/src/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hush.c')
-rw-r--r--src/hush.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/hush.c b/src/hush.c
index 255a058..557ae1e 100644
--- a/src/hush.c
+++ b/src/hush.c
@@ -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, "$ ");
}