Skip to content

Commit

Permalink
Fix mac port collector.
Browse files Browse the repository at this point in the history
  • Loading branch information
gfs committed Jan 11, 2020
1 parent 64d8521 commit 625181e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/Collectors/OpenPortCollector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private void ExecuteOsX()
{
try
{
string result = ExternalCommandRunner.RunExternalCommand("lsof -Pn -i4 -i6");
string result = ExternalCommandRunner.RunExternalCommand("lsof", "-Pn -i4 -i6");

foreach (var _line in result.Split('\n'))
{
Expand Down

0 comments on commit 625181e

Please sign in to comment.