mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-05 10:17:23 +00:00
make rsync deal with sparse files efficiently
Signed-off-by: Lukas Pirl <git@lukas-pirl.de>
This commit is contained in:
parent
13dbc78075
commit
4f142fad8b
@ -61,7 +61,7 @@ int do_rsync(const char *src, const char *dest)
|
||||
s[l-2] = '/';
|
||||
s[l-1] = '\0';
|
||||
|
||||
execlp("rsync", "rsync", "-aHX", "--delete", s, dest, (char *)NULL);
|
||||
execlp("rsync", "rsync", "-aHXS", "--delete", s, dest, (char *)NULL);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user