diff --git a/lib/API/Extra.js b/lib/API/Extra.js index cf7a23fcf..bca1da253 100644 --- a/lib/API/Extra.js +++ b/lib/API/Extra.js @@ -108,7 +108,7 @@ module.exports = function(CLI) { } that.Client.executeRemote('getVersion', {}, function(err, data) { - if (semver.satisfies(data, '>= 2.6.0')) + if (semver.satisfies(semver.coerce(data), '>=2.6.0')) reporting(); else { Common.printError(cst.PREFIX_MSG_ERR + 'You need to update your Daemon, please type `$ pm2 update`');