git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@843
94cd875c-1c1d-0410-91d2-
eb244daf1a30
$SBINDIR/vserver $vserver stop
fi
+test "$dhost" || {
+ mkdir -p -m755 $target
+ chattr -t $target
+}
+
info "Syncing directories"
# trailing slashes very important in the rsync!
if ! rsync -avxz $rsflag $shcmd $vroot/ $dhost$colon$target/; then
// Now, we do a recursive copy of refserv into newserv
umask (0);
mkdir (newserv.c_str(),0755);
+ setext2flag(newserv.c_str(), false, 0);
// Check if it is on the same volume
struct stat refst,newst;
if (vutil_lstat(refserv,refst)!=-1