Update main.py
This commit is contained in:
parent
fa8519daf4
commit
347bc40820
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue