mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 17:44:23 +00:00
Change lxc-clone to use 'rsync -aH' instead of just 'rsync -a' for cloning to fix Launchpad Bug #1441307.
Signed-off-by: Erik B. Andersen <erik.b.andersen@gmail.com>
This commit is contained in:
parent
8ec0243d0a
commit
6a69816295
@ -94,7 +94,7 @@ static int do_rsync(const char *src, const char *dest)
|
||||
s[l-2] = '/';
|
||||
s[l-1] = '\0';
|
||||
|
||||
execlp("rsync", "rsync", "-a", s, dest, (char *)NULL);
|
||||
execlp("rsync", "rsync", "-aH", s, dest, (char *)NULL);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user