From: Daniel Hokka Zakrisson Date: Fri, 24 Nov 2006 22:03:39 +0000 (+0000) Subject: Use the same flags for legacy as the rsync build method's default. X-Git-Tag: release-0.30.212~21 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7cfc614cbd193d7c8dd613c6e2b78ca7252f84f;p=util-vserver.git Use the same flags for legacy as the rsync build method's default. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2402 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/scripts/legacy/vserver-copy b/scripts/legacy/vserver-copy index d7b968f..792d563 100755 --- a/scripts/legacy/vserver-copy +++ b/scripts/legacy/vserver-copy @@ -295,7 +295,7 @@ fi info "Syncing directories" # trailing slashes very important in the rsync! -if ! rsync -avxz $rsflag $shcmd $vroot/ $dhost$colon$target/; then +if ! rsync -Havxz --numeric-ids $rsflag $shcmd $vroot/ $dhost$colon$target/; then error 1 "rsync failed" fi