From 5c59554675cb9c3856c05fc2284cf119656243b0 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Wed, 7 Nov 2018 18:41:25 +0300 Subject: [PATCH] Fixed accumulative flag in CLI file mode. --- njs/njs_shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/njs/njs_shell.c b/njs/njs_shell.c index dc083ee0..c0dacc35 100644 --- a/njs/njs_shell.c +++ b/njs/njs_shell.c @@ -145,7 +145,7 @@ main(int argc, char **argv) nxt_memzero(&vm_options, sizeof(njs_vm_opt_t)); - vm_options.accumulative = 1; + vm_options.accumulative = opts.interactive; vm_options.backtrace = 1; vm_options.sandbox = opts.sandbox; -- 2.47.3