dotfiles
dotfiles copied to clipboard
Ensure searchAndDestroy only reports killing active ports
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