diff --git a/agent/agent_windows.go b/agent/agent_windows.go index 0912cd2..9df3eb5 100644 --- a/agent/agent_windows.go +++ b/agent/agent_windows.go @@ -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 diff --git a/agent/install_linux.go b/agent/install_unix.go similarity index 96% rename from agent/install_linux.go rename to agent/install_unix.go index 4cda3c5..f41da59 100644 --- a/agent/install_linux.go +++ b/agent/install_unix.go @@ -1,3 +1,6 @@ +//go:build !windows +// +build !windows + /* Copyright 2022 AmidaWare LLC.