1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added server process cleanup.

This commit is contained in:
Ylian Saint-Hilaire 2019-07-17 15:57:42 -07:00
parent de409b619d
commit 2672001a35
5 changed files with 43 additions and 17 deletions

View file

@ -614,6 +614,10 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
parent.parent.performServerUpdate();
break;
}
case 'print': {
console.log(cmdargs["_"][0]);
break;
}
case 'updatecheck': {
parent.parent.getLatestServerVersion(function (currentVer, newVer, error) {
var r2 = 'Current Version: ' + currentVer + '\r\n';