summaryrefslogtreecommitdiff
path: root/kvmd/apps/otgnet/__init__.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-06-19 20:56:51 +0300
committerMaxim Devaev <[email protected]>2022-06-19 20:56:51 +0300
commit43da6af153107b0e1ed176dea08effdcb71725f6 (patch)
tree4a50e6cd1d6e38829bf50dfbb456c1846f5bbcaa /kvmd/apps/otgnet/__init__.py
parent0edf854832a85c68d09125a0ef1491a093c78d99 (diff)
improved subprocess cmd logging
Diffstat (limited to 'kvmd/apps/otgnet/__init__.py')
-rw-r--r--kvmd/apps/otgnet/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/otgnet/__init__.py b/kvmd/apps/otgnet/__init__.py
index 3f2d99b8..7a5e4cc7 100644
--- a/kvmd/apps/otgnet/__init__.py
+++ b/kvmd/apps/otgnet/__init__.py
@@ -131,7 +131,7 @@ class _Service: # pylint: disable=too-many-instance-attributes
async def __run_ctl(self, ctl: BaseCtl, direct: bool) -> bool:
logger = get_logger()
cmd = ctl.get_command(direct)
- logger.info("CMD: %s", " ".join(cmd))
+ logger.info("CMD: %s", tools.cmdfmt(cmd))
try:
return (not (await aioproc.log_process(cmd, logger)).returncode)
except Exception as err: