From f3faa3d846d1e895232743dd619f5ecb15fdf7ad Mon Sep 17 00:00:00 2001 From: Unitech Date: Fri, 13 Jul 2018 18:51:01 +0200 Subject: [PATCH] fix: method renaming --- lib/API.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/API.js b/lib/API.js index 6e7219ea6..e6bfc6329 100644 --- a/lib/API.js +++ b/lib/API.js @@ -604,7 +604,7 @@ class API { Common.printOut(conf.PREFIX_MSG + 'All processes have been stopped and deleted'); process.env.PM2_SILENT = 'false'; - that.killInteract(function(err, data) { + that.killAgent(function(err, data) { that.Client.killDaemon(function(err, res) { if (err) Common.printError(err); Common.printOut(conf.PREFIX_MSG + 'PM2 stopped');