Skip to content

Commit

Permalink
Fix spawning upgrade watcher on darwin platform (#3224)
Browse files Browse the repository at this point in the history
* Empty commit

* Fix TopBinaryPath.

* Empty commit
  • Loading branch information
blakerouse authored Aug 10, 2023
1 parent decadc9 commit 7a19379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/agent/application/paths/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,5 +264,5 @@ func InstallPath(basePath string) string {
//
// This always points to the symlink that points to the latest Elastic Agent version.
func TopBinaryPath() string {
return BinaryPath(Top(), BinaryName)
return filepath.Join(Top(), BinaryName)
}

0 comments on commit 7a19379

Please sign in to comment.