From: Dmitry Volyntsev Date: Wed, 7 Nov 2018 15:41:25 +0000 (+0300) Subject: Fixed accumulative flag in CLI file mode. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=5c59554675cb9c3856c05fc2284cf119656243b0;p=njs.git Fixed accumulative flag in CLI file mode. --- 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;