summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvmd/aioproc.py4
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: