diff options
author | Maxim Devaev <[email protected]> | 2022-04-12 17:37:08 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-04-12 17:37:08 +0300 |
commit | 565d2dd6146f30cda546eca5a2156536ed08c9da (patch) | |
tree | 25ce9a8dfb51f709d10db2b693174c46495b2e8a | |
parent | 32fb465ad4116ab50b49acf0b99665abe55aeb53 (diff) |
fix
-rw-r--r-- | kvmd/aioproc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/aioproc.py b/kvmd/aioproc.py index 4cc3fbf5..5df2aaf2 100644 --- a/kvmd/aioproc.py +++ b/kvmd/aioproc.py @@ -105,14 +105,14 @@ async def kill_process(proc: asyncio.subprocess.Process, wait: float, logger: lo if proc.returncode is not None: raise await proc.wait() - logger.info("Process killed: retcode=%d", proc.pid, proc.returncode) + logger.info("Process killed: retcode=%d", proc.returncode) except asyncio.CancelledError: pass except Exception: if proc.returncode is None: logger.exception("Can't kill process pid=%d", proc.pid) else: - logger.info("Process killed: retcode=%d", proc.pid, proc.returncode) + logger.info("Process killed: retcode=%d", proc.returncode) def rename_process(suffix: str, prefix: str="kvmd") -> None: |