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