dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Ensure searchAndDestroy only reports killing active ports

Open kevinSuttle opened this issue 10 years ago • 0 comments

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

kevinSuttle avatar Jun 09 '14 15:06 kevinSuttle