Skip to content

Commit

Permalink
Fix intel macos file path
Browse files Browse the repository at this point in the history
  • Loading branch information
Micah-Kolide committed Aug 28, 2024
1 parent 32afe89 commit 01f31bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/allowedcmd/cmd_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func Bputil(ctx context.Context, arg ...string) (*exec.Cmd, error) {
}

func Brew(ctx context.Context, arg ...string) (*exec.Cmd, error) {
for _, p := range []string{"/opt/homebrew/bin/brew", "/usr/local/homebrew/bin/brew"} {
for _, p := range []string{"/opt/homebrew/bin/brew", "/usr/local/bin/brew"} {
validatedCmd, err := validatedCommand(ctx, p, arg...)
if err != nil {
continue
Expand Down

0 comments on commit 01f31bb

Please sign in to comment.