aboutsummaryrefslogtreecommitdiff
path: root/smash/main.c
diff options
context:
space:
mode:
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();