From: Dmitry Volyntsev Date: Mon, 2 Jul 2018 15:03:43 +0000 (+0300) Subject: Improved file mode in CLI. X-Git-Tag: 0.2.3~25 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=06d4b65d64c95ca1f1f6b5a6c56df7639d7412a9;p=njs.git Improved file mode in CLI. Reporting of the return value of the last expression is disabled. --- diff --git a/njs/njs_shell.c b/njs/njs_shell.c index e014f85e..28317da6 100644 --- a/njs/njs_shell.c +++ b/njs/njs_shell.c @@ -390,10 +390,6 @@ njs_process_file(njs_opts_t *opts, njs_vm_opt_t *vm_options) goto done; } - if (!opts->disassemble) { - printf("%.*s\n", (int) out.length, out.start); - } - ret = NXT_OK; done: