From 5c81709222bf166320aed1a02a996d0aad6a16e5 Mon Sep 17 00:00:00 2001 From: strasharo Date: Sat, 30 Apr 2016 15:54:00 +0300 Subject: [PATCH] fix airmon process parsing --- airmon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airmon b/airmon index ab4e300..861f9bd 100755 --- a/airmon +++ b/airmon @@ -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"