1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-23 11:43:26 +00:00

Disabled self-update if any of the following is true:

1. Agent running as service, but without admin rights
2. Agent running as console, in temporary mode
This commit is contained in:
Bryan Roe
2020-10-18 01:17:17 -07:00
parent 67e3b3c118
commit 0773585dfd
2 changed files with 7 additions and 1 deletions

View File

@@ -236,6 +236,7 @@ typedef struct MeshAgentHostContainer
int dbRetryCount;
MeshAgent_Posix_PlatformTypes platformType;
int JSRunningAsService;
int JSRunningWithAdmin;
#if defined(_WINSERVICE)
int runningAsConsole;
#endif