From 5947bb6f031203d1b2cd826d167f57515b8b85eb Mon Sep 17 00:00:00 2001 From: Rey Endymion <33460024+ReyEndymion@users.noreply.github.com> Date: Thu, 16 Feb 2023 10:02:40 -0600 Subject: [PATCH] Update index.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit corrección mejorada para que el comando restart restablezca el servidor sin mensajes adicionales de error... https://github.com/ReyEndymion --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 094b64f5..b386037f 100644 --- a/index.js +++ b/index.js @@ -63,7 +63,7 @@ start.apply(this, arguments) if (process.env.pm_id) { process.exit(1) } else { -process.send ('reset') +process.exit() } }) let opts = new Object(yargs(process.argv.slice(2)).exitProcess(false).parse())