Commit d61b5594 by Erik B. Andersen Committed by Stéphane Graber

Change lxc-clone to use 'rsync -aH' instead of just 'rsync -a' for cloning to…

Change lxc-clone to use 'rsync -aH' instead of just 'rsync -a' for cloning to fix Launchpad Bug #1441307. Signed-off-by: 's avatarErik B. Andersen <erik.b.andersen@gmail.com>
parent 17e77178
...@@ -93,7 +93,7 @@ static int do_rsync(const char *src, const char *dest) ...@@ -93,7 +93,7 @@ static 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", "-a", s, dest, (char *)NULL); execlp("rsync", "rsync", "-aH", s, dest, (char *)NULL);
exit(1); exit(1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment