Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Oct 19, 2023
1 parent 4eda36e commit b66b3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/actions/net/port.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func actionUsedPortsNetstat() carapace.Action {
}

if splitted := strings.Split(fields[1], ":"); len(splitted) > 1 {
executable := lines[index-1]
executable := strings.TrimSpace(lines[index-1])
switch {
case strings.HasPrefix(executable, "["):
executable = executable[1 : len(executable)-1]
Expand Down

0 comments on commit b66b3fe

Please sign in to comment.