mirror of
git://github.com/lxc/lxc
synced 2025-08-31 00:09:37 +00:00
make rsync deal with sparse files efficiently
Signed-off-by: Lukas Pirl <git@lukas-pirl.de>
This commit is contained in:
@@ -61,7 +61,7 @@ int do_rsync(const char *src, const char *dest)
|
|||||||
s[l-2] = '/';
|
s[l-2] = '/';
|
||||||
s[l-1] = '\0';
|
s[l-1] = '\0';
|
||||||
|
|
||||||
execlp("rsync", "rsync", "-aHX", "--delete", s, dest, (char *)NULL);
|
execlp("rsync", "rsync", "-aHXS", "--delete", s, dest, (char *)NULL);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user