From 06d4b65d64c95ca1f1f6b5a6c56df7639d7412a9 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Mon, 2 Jul 2018 18:03:43 +0300 Subject: [PATCH] Improved file mode in CLI. Reporting of the return value of the last expression is disabled. --- njs/njs_shell.c | 4 ---- 1 file changed, 4 deletions(-) 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: -- 2.47.3