fix nsgrep

This commit is contained in:
Rico Ullmann 2016-05-15 13:27:16 +02:00
parent b54f7adafc
commit a7f7bf99e4
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ function nsgrep --description 'show open ports for $argv'
return 1
case 1
netstat -tulpen | grep $1 | grep -v grep
netstat -tulpen | grep $argv | grep -v grep
case \*
echo "Only 1 argument is valid!"