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:
parent
fcc45d64ba
commit
f9d09c3ed8
3 changed files with 18 additions and 42 deletions
|
@ -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': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue