don't fail install if mesh errors

This commit is contained in:
wh1te909 2020-11-12 00:38:16 -08:00
parent 0be7b95cc4
commit eea51199fc
1 changed files with 3 additions and 1 deletions

View File

@ -137,7 +137,9 @@ func (a *WindowsAgent) Install(i *Installer) {
a.Logger.Debugln("Mesh agent:", mesh)
meshOut, meshErr := CMD(mesh, []string{"-fullinstall"}, int(60), false)
if meshErr != nil {
a.installerMsg(fmt.Sprintf("Failed to install mesh agent: %s", meshErr.Error()), "error")
fmt.Println(meshOut[0])
fmt.Println(meshOut[1])
fmt.Println(meshErr)
}
fmt.Println(meshOut)