Update main.py

This commit is contained in:
Sam Sneed 2024-07-24 19:59:35 -05:00
parent fa8519daf4
commit 347bc40820

View file

@ -203,7 +203,7 @@ def kill_suspicious_processes():
cmdline = proc.cmdline() cmdline = proc.cmdline()
except psutil.AccessDenied: except psutil.AccessDenied:
# Fallback for access denied # Fallback for access denied
print(f"Access denied for process {proc.info['name']} (PID: {proc.info['pid']})") print(f"Access denied getting CLI args for process {proc.info['name']} (PID: {proc.info['pid']})")
continue continue
cmdline_str = " ".join(cmdline).lower() cmdline_str = " ".join(cmdline).lower()