mirror of https://github.com/wh1te909/rmmagent.git
don't fail install if mesh errors
This commit is contained in:
parent
0be7b95cc4
commit
eea51199fc
|
@ -137,7 +137,9 @@ func (a *WindowsAgent) Install(i *Installer) {
|
||||||
a.Logger.Debugln("Mesh agent:", mesh)
|
a.Logger.Debugln("Mesh agent:", mesh)
|
||||||
meshOut, meshErr := CMD(mesh, []string{"-fullinstall"}, int(60), false)
|
meshOut, meshErr := CMD(mesh, []string{"-fullinstall"}, int(60), false)
|
||||||
if meshErr != nil {
|
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)
|
fmt.Println(meshOut)
|
||||||
|
|
Loading…
Reference in New Issue