Skip to content
Snippets Groups Projects
Commit e5aa5852ad99 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

rsync: fix '--inplace' option

The extra "-" is invalid.
parent 4693021e6326
No related branches found
No related tags found
No related merge requests found
...@@ -339,7 +339,7 @@ ...@@ -339,7 +339,7 @@
os.path.basename(self.clone_path))) os.path.basename(self.clone_path)))
# XXX: This should be deleted at the end but teardown, like setup, is # XXX: This should be deleted at the end but teardown, like setup, is
# called for each repeat... # called for each repeat...
self.check_output('rsync', '--in-place', '--no-whole-file', '-aH', '--delete', '{}/'.format(self.clone_path), self.check_output('rsync', '--inplace', '--no-whole-file', '-aH', '--delete', '{}/'.format(self.clone_path),
self.tmp_clone_path) self.tmp_clone_path)
# Wait for everything to be written on disk to avoid Disk IO wait to # Wait for everything to be written on disk to avoid Disk IO wait to
# impact performances metrics # impact performances metrics
...@@ -373,7 +373,7 @@ ...@@ -373,7 +373,7 @@
os.path.basename(self.clone_path))) os.path.basename(self.clone_path)))
# XXX: This should be deleted at the end but teardown, like setup, is # XXX: This should be deleted at the end but teardown, like setup, is
# called for each repeat... # called for each repeat...
self.check_output('rsync', '--in-place', '--no-whole-file', '-aH', '--delete', '{}/'.format(self.clone_path), self.check_output('rsync', '--inplace', '--no-whole-file', '-aH', '--delete', '{}/'.format(self.clone_path),
self.tmp_clone_path) self.tmp_clone_path)
# Wait for everything to be written on disk to avoid Disk IO wait to # Wait for everything to be written on disk to avoid Disk IO wait to
# impact performances metrics # impact performances metrics
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment