File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -2471,18 +2471,18 @@ def rsync() -> None:
2471
2471
if superuser and self .user != 'root' :
2472
2472
cmd += ['--rsync-path' , 'sudo rsync' ]
2473
2473
2474
- # Construct the rsync command with potentially multiple sources
2475
- rsync_cmd = Command (
2476
- * cmd ,
2477
- * options ,
2478
- "-e" ,
2479
- self ._ssh_command .to_element (),
2480
- * [str (s ) for s in sources ], # Unpack all source paths
2481
- f"{ self ._ssh_guest } :{ destination } " ,
2474
+ self ._run_guest_command (
2475
+ Command (
2476
+ * cmd ,
2477
+ * options ,
2478
+ "-e" ,
2479
+ self ._ssh_command .to_element (),
2480
+ * [str (s ) for s in sources ], # Unpack all source paths
2481
+ f"{ self ._ssh_guest } :{ destination } " ,
2482
+ ),
2483
+ silent = True ,
2482
2484
)
2483
2485
2484
- self ._run_guest_command (rsync_cmd , silent = True )
2485
-
2486
2486
# Try to push twice, check for rsync after the first failure
2487
2487
try :
2488
2488
rsync ()
You can’t perform that action at this time.
0 commit comments