diff options
-rw-r--r-- | src/helper/interpreter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/interpreter.c b/src/helper/interpreter.c index 7b0432ab..85cd7158 100644 --- a/src/helper/interpreter.c +++ b/src/helper/interpreter.c @@ -231,7 +231,7 @@ int handle_script_command(struct command_context_s *cmd_ctx, char *cmd, char **a echo = cmd_ctx->echo; cmd_ctx->echo = 1; - command_run_file(cmd_ctx, script_file, COMMAND_EXEC); + command_run_file(cmd_ctx, script_file, cmd_ctx->mode); cmd_ctx->echo = echo; |