Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stdin-killer: do not setpgrp if already leader
Fixes failure like: 2023-08-03T19:40:10.942 INFO:teuthology.orchestra.run.smithi100.stderr:Traceback (most recent call last): 2023-08-03T19:40:10.942 INFO:teuthology.orchestra.run.smithi100.stderr: File "/usr/bin/stdin-killer", line 213, in <module> 2023-08-03T19:40:10.943 INFO:teuthology.orchestra.run.smithi100.stderr: os.setpgrp() 2023-08-03T19:40:10.943 INFO:teuthology.orchestra.run.smithi100.stderr:PermissionError: [Errno 1] Operation not permitted Signed-off-by: Patrick Donnelly <[email protected]>
- Loading branch information