Fix cross-user Fenrir instance registry pruning
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributors.
|
||||
|
||||
import errno
|
||||
import json
|
||||
import os
|
||||
import tempfile
|
||||
@@ -46,7 +47,9 @@ def process_exists(pid):
|
||||
try:
|
||||
os.kill(pid, 0)
|
||||
return True
|
||||
except OSError:
|
||||
except OSError as e:
|
||||
if e.errno == errno.EPERM:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
# By Chrys, Storm Dragon, and contributors.
|
||||
|
||||
version = "2026.05.07"
|
||||
code_name = "master"
|
||||
code_name = "testing"
|
||||
|
||||
Reference in New Issue
Block a user