diff --git a/ananicy.py b/ananicy.py index 706054d0..a773ba34 100755 --- a/ananicy.py +++ b/ananicy.py @@ -548,6 +548,8 @@ def process_pid(self, proc, pid): def processing_rules(self): proc = self.proc for pid in proc: + if not os.path.exists("/proc/" + str(pid)): + continue self.process_pid(proc, pid) def run(self):