fixed for build

This commit is contained in:
redanthrax 2022-06-22 15:44:34 -07:00
parent e20edcc9ad
commit f0cb4f4b3f
2 changed files with 4 additions and 1 deletions

View file

@ -797,7 +797,7 @@ func (a *Agent) RecoverMesh() {
}
func (a *Agent) getMeshNodeID() (string, error) {
out, err := CMD(a.MeshSystemEXE, []string{"-nodeid"}, 10, false)
out, err := CMD(a.MeshSystemBin, []string{"-nodeid"}, 10, false)
if err != nil {
a.Logger.Debugln(err)
return "", err

View file

@ -1,3 +1,6 @@
//go:build !windows
// +build !windows
/*
Copyright 2022 AmidaWare LLC.