mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
cmdfmt
This commit is contained in:
@@ -38,7 +38,7 @@ async def remount(name: str, base_cmd: List[str], rw: bool) -> bool:
|
||||
part.format(mode=mode)
|
||||
for part in base_cmd
|
||||
]
|
||||
logger.info("Remounting %s storage to %s: %s ...", name, mode.upper(), cmd)
|
||||
logger.info("Remounting %s storage to %s: %s ...", name, mode.upper(), tools.cmdfmt(cmd))
|
||||
try:
|
||||
proc = await aioproc.log_process(cmd, logger)
|
||||
if proc.returncode != 0:
|
||||
|
||||
Reference in New Issue
Block a user