Skip to content

Ensure searchAndDestroy only reports killing active ports #1

Description

@kevinSuttle

No false positives.

This doesn't seem to work. Any ideas?

  if $1 !== dev 2>null
    echo "Port" $1 "found and killed."
  else
    echo "Port" $1 "was not open."

In context: https://github.com/kevinSuttle/dotfiles/blob/master/functions#L14

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions