mirror of
https://github.com/ep1cman/unifi-protect-backup.git
synced 2025-12-10 13:23:29 +00:00
Improved cmd debug logging
This commit is contained in:
@@ -164,8 +164,10 @@ class UnifiProtectBackup:
|
|||||||
if not rclone:
|
if not rclone:
|
||||||
raise RuntimeError("`rclone` is not installed on this system")
|
raise RuntimeError("`rclone` is not installed on this system")
|
||||||
|
|
||||||
|
cmd = "rclone listremotes"
|
||||||
|
logger.debug(f"rclone command: {cmd}")
|
||||||
proc = await asyncio.create_subprocess_shell(
|
proc = await asyncio.create_subprocess_shell(
|
||||||
"rclone listremotes",
|
cmd,
|
||||||
stdout=asyncio.subprocess.PIPE,
|
stdout=asyncio.subprocess.PIPE,
|
||||||
stderr=asyncio.subprocess.PIPE,
|
stderr=asyncio.subprocess.PIPE,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user