Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Feb 23, 2024
1 parent 6ae5056 commit f3cadfb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ee/debug/checkups/processes.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ func (c *Processes) Run(ctx context.Context, fullWriter io.Writer) error {
if strings.Contains(strings.ToLower(exe), "kolide") {
c.kolideCount += 1

// Grab ENV vars if available -- we ignore the error because we expect
// this function to return `ErrNotImplementedError` on darwin
// Grab ENV vars -- available on windows/linux but not darwin;
// included primarily for troubleshooting browser opening issues
// on linux
pMap["env"] = naIfError(p.EnvironWithContext(ctx))

c.data[fmt.Sprintf("%d", p.Pid)] = pMap
Expand Down

0 comments on commit f3cadfb

Please sign in to comment.