Sfoglia il codice sorgente

HPCC-13614 ConfigMgr - Fix Highlighting in file selection

	- Fix auto write to environment.xml file on startup

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Gleb Aronsky 10 anni fa
parent
commit
3a27a20ac0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      esp/services/WsDeploy/WsDeployService.cpp

+ 1 - 1
esp/services/WsDeploy/WsDeployService.cpp

@@ -6372,7 +6372,7 @@ void CWsDeployFileInfo::initFileInfo(bool createOrOverwrite, bool bClearEnv)
   try
   {
     StringBuffer err;
-    if (modified && fileExists)
+    if (modified && fileExists && m_userWithLock.length())
       saveEnvironment(NULL, NULL, err);
   }
   catch (IErrnoException* e)