fix airmon process parsing

This commit is contained in:
strasharo 2016-04-30 15:54:00 +03:00
parent 8929eecb88
commit 5c81709222
1 changed files with 1 additions and 1 deletions

2
airmon
View File

@ -155,7 +155,7 @@ checkProcessesIface() {
return
fi
for i in `ps auxw | grep $1 | grep -v "grep" | grep -v "airmon-ng" | awk '{print $2}'`
for i in `ps auxw | grep $1 | grep -v "grep" | grep -v "airmon" | awk '{print $2}'`
do
pname=`ps -o comm= -p $i`
echo "Process with PID $i ($pname) is running on interface $1"