mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
Only print rsync stats if some data was transferred
This commit is contained in:
@@ -640,5 +640,5 @@ def receive_main(cli_opts: TransferCLIOptions, args: List[str]) -> None:
|
||||
tsf += f.expected_size
|
||||
dsz += f.received_bytes
|
||||
ssz += f.sent_bytes
|
||||
if tsf:
|
||||
if tsf and dsz + ssz:
|
||||
print_rsync_stats(tsf, dsz, ssz)
|
||||
|
||||
Reference in New Issue
Block a user