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 return
fi 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 do
pname=`ps -o comm= -p $i` pname=`ps -o comm= -p $i`
echo "Process with PID $i ($pname) is running on interface $1" echo "Process with PID $i ($pname) is running on interface $1"