summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ncserver/module/openrc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncserver/module/openrc.py b/ncserver/module/openrc.py
index e951af1..88d96c7 100644
--- a/ncserver/module/openrc.py
+++ b/ncserver/module/openrc.py
@@ -117,7 +117,7 @@ def check_alive(pidfile) -> bool:
os.kill(pid, 0)
except OSError as ose:
# If EPERM, we can't send the signal because it's alive.
- return (ose.errno == errno.EPERM)
+ return ose.errno == errno.EPERM
else:
return True