diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-02-12 21:30:12 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-02-12 21:30:49 +0100 |
commit | fda2b732ad41129559b94f56a6c655068ed70f57 (patch) | |
tree | 9a32d90f5205c3a5e595f3f693d0def2f786a3a1 | |
parent | 5a29d3e4c45bf58153ec1e617a1787b2311724dd (diff) |
uinput_mng: create the control FIFO dir if it does not exist
-rwxr-xr-x | uinput_mng | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -302,6 +302,7 @@ if not control_path: # create the FIFO if it does not exist yet if not os.path.exists(control_path): logger.info('Creating control FIFO: %s', control_path) + os.makedirs(os.path.dirname(control_path), exist_ok = True) os.mkfifo(control_path, mode = 0o600) else: st = os.stat(control_path) |