standardize windows temp dir fixes amidaware/tacticalrmm#1238
This commit is contained in:
parent
381f9696eb
commit
41597d7d26
4 changed files with 53 additions and 61 deletions
|
|
@ -29,7 +29,10 @@ func (a *Agent) RunAsService() {
|
|||
func (a *Agent) AgentSvc() {
|
||||
go a.GetPython(false)
|
||||
|
||||
a.CreateTRMMTempDir()
|
||||
err := createWinTempDir()
|
||||
if err != nil {
|
||||
a.Logger.Errorln("AgentSvc() createWinTempDir():", err)
|
||||
}
|
||||
a.RunMigrations()
|
||||
|
||||
sleepDelay := randRange(14, 22)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue