about summary refs log tree commit diff stats
path: root/bin/badprocs.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/badprocs.py')
-rwxr-xr-xbin/badprocs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/badprocs.py b/bin/badprocs.py
index b4e3225..863e365 100755
--- a/bin/badprocs.py
+++ b/bin/badprocs.py
@@ -18,8 +18,9 @@ def getBadProcs(procsList):
     )
 
     for proc in procsRunning:
+        lilproc = proc.lower()
         for badproc in procsList:
-            if badproc in proc.lower():
+            if badproc in lilproc:
                 procsFound.append("Found {0} :: {1}".format(badproc, proc))
 
     return procsFound