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');