diff options
Diffstat (limited to 'kvmd/aioproc.py')
-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 013f2f8c..4cc3fbf5 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: pid=%d; retcode=%d", proc.pid, proc.returncode) + logger.info("Process killed: retcode=%d", proc.pid, 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: pid=%d; retcode=%d", proc.pid, proc.returncode) + logger.info("Process killed: retcode=%d", proc.pid, proc.returncode) def rename_process(suffix: str, prefix: str="kvmd") -> None: |