summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/bt/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/hid/bt/__init__.py')
-rw-r--r--kvmd/plugins/hid/bt/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/hid/bt/__init__.py b/kvmd/plugins/hid/bt/__init__.py
index 2e8ef422..54daba27 100644
--- a/kvmd/plugins/hid/bt/__init__.py
+++ b/kvmd/plugins/hid/bt/__init__.py
@@ -170,7 +170,7 @@ class Plugin(BaseHid): # pylint: disable=too-many-instance-attributes
if self.__proc.is_alive():
get_logger(0).info("Stopping HID daemon ...")
self.__stop_event.set()
- if self.__proc.exitcode is not None:
+ if self.__proc.is_alive() or self.__proc.exitcode is not None:
self.__proc.join()
# =====