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

Server self-update correctly not allowed when running as Windows Service.

This commit is contained in:
Ylian Saint-Hilaire 2019-07-18 13:11:08 -07:00
parent fcc45d64ba
commit f9d09c3ed8
3 changed files with 18 additions and 42 deletions

View file

@ -611,7 +611,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
}
case 'serverupdate': {
r = 'Performing server update...';
parent.parent.performServerUpdate();
if (parent.parent.performServerUpdate() == false) { r = 'Server self-update not possible.'; }
break;
}
case 'print': {