Skip to content

Commit

Permalink
fixup! Two step shutdown with sigint
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaballeror committed Feb 16, 2018
1 parent 6b977f3 commit 7a601a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion osbrain/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def is_pid_alive(pid):
dead_statuses = [STATUS_ZOMBIE, STATUS_DEAD]
try:
process = psutil.Process(pid)
print('%d is %s', pid, process.status())
return process.status() not in dead_statuses
except psutil.NoSuchProcess:
return False

0 comments on commit 7a601a3

Please sign in to comment.