Skip to content

Commit dca3a30

Browse files
committed
Drop --checksum
Cannot be used alongside append-verify
1 parent 03fecaa commit dca3a30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dmu/fsystem/fcopy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ def copy(self, source : Path, target : Path) -> bool:
147147
tpath = self._get_path(target, is_source=False)
148148

149149
if self._source or self._target:
150-
commands = ['rsync', '--append-verify', '--checksum', '-a', '-e', 'ssh -o PubkeyAuthentication=yes -o PasswordAuthentication=no', spath, tpath]
150+
commands = ['rsync', '--append-verify', '-a', '-e', 'ssh -o PubkeyAuthentication=yes -o PasswordAuthentication=no', spath, tpath]
151151
else:
152-
commands = ['rsync', '--append-verify', '--checksum', '-a', spath, tpath]
152+
commands = ['rsync', '--append-verify', '-a', spath, tpath]
153153

154154
log.debug(' '.join(commands))
155155
subprocess.run(commands)

0 commit comments

Comments
 (0)