fixed windows build - removed test dep

This commit is contained in:
redanthrax 2022-06-17 10:16:36 -07:00
parent 13b5474cd8
commit 934700844c
5 changed files with 6 additions and 29 deletions

View file

@ -39,9 +39,6 @@ func createAgentConfig(baseurl, agentid, apiurl, token, agentpk, cert, proxy, me
viper.Set("meshdir", meshdir)
viper.SetConfigPermissions(0660)
configLocation := "/etc/tacticalagent"
if shared.TEST {
configLocation = "tacticalagent"
}
err := viper.SafeWriteConfigAs(configLocation)