From: Erik B. Andersen Date: Fri, 15 May 2015 04:39:57 +0000 (-0700) Subject: Change lxc-clone to use 'rsync -aH' instead of just 'rsync -a' for cloning to fix... X-Git-Tag: lxc-1.0.8~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d61b5594f8bdb98b6f5649e6a12102f46891349c;p=thirdparty%2Flxc.git 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 --- diff --git a/src/lxc/bdev.c b/src/lxc/bdev.c index 984690a0a..25e8f16fd 100644 --- a/src/lxc/bdev.c +++ b/src/lxc/bdev.c @@ -93,7 +93,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); }