Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inherits environment variables (elastic#8849)
We were inheriting environment variables on windows only, this make sure the variables are inherited on unix too. Because the system module in metricbeat uses `lsof` since the environment variables were cleared the $PATH was not available so the binary was not found. fixes: elastic#8848
- Loading branch information