aboutsummaryrefslogtreecommitdiff
path: root/smash/main.c
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-02-14 17:09:59 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2023-02-14 17:09:59 +0100
commit7a98e998c5cda484611d19854649ab8535f503d4 (patch)
tree43f7dae6921ced5ee9001f1d31c662351678a718 /smash/main.c
parentc0178363472e162a7cb21e381c512979130dfdb0 (diff)
add simplet init system
Diffstat (limited to 'smash/main.c')
-rw-r--r--smash/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smash/main.c b/smash/main.c
index cf5f47f..efc7bd1 100644
--- a/smash/main.c
+++ b/smash/main.c
@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
line_length = cstr_length(line_exec);
if (line_length > 0) {
- exec(line_exec);
+ execute_line(line_exec);
}
cleanup_variable_line_context();