@@ -63,26 +63,26 @@ if [ -d "$GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT/git-hooks/environments/tarballs" ];
6363 hostname=$( echo $hostnames | awk ' { print $1; }' )
6464
6565 if [ -n " $hostname " ]; then
66- ghe-rsync -aH --delete \
66+ ghe-rsync -avH --delete \
6767 -e " ssh -q $opts -p $port -F $config_file -l $user " \
6868 --rsync-path=" sudo -u git rsync" \
6969 " $GHE_DATA_DIR /$GHE_RESTORE_SNAPSHOT /git-hooks/environments/tarballs/" \
70- " $hostname :$GHE_REMOTE_DATA_USER_DIR /git-hooks/environments/tarballs"
70+ " $hostname :$GHE_REMOTE_DATA_USER_DIR /git-hooks/environments/tarballs" 1>&3
7171
7272 for tarball in $tarballs ; do
7373 env_id=$( echo $tarball | cut -d ' /' -f 2)
74- ssh -q $opts -p $port -F $config_file -l $user $hostname " /bin/bash -c 'export PATH=\$ PATH:/usr/local/share/enterprise && ghe-hook-env-update $env_id $GHE_REMOTE_DATA_USER_DIR /git-hooks/environments/tarballs/$tarball '"
74+ ssh -q $opts -p $port -F $config_file -l $user $hostname " /bin/bash -c 'export PATH=\$ PATH:/usr/local/share/enterprise && ghe-hook-env-update $env_id $GHE_REMOTE_DATA_USER_DIR /git-hooks/environments/tarballs/$tarball '" 1>&3 2>&3
7575 done
7676 fi
7777fi
7878
7979if [ -d " $GHE_DATA_DIR /$GHE_RESTORE_SNAPSHOT /git-hooks/repos" ]; then
8080 for hostname in $hostnames ; do
81- ghe-rsync -aH --delete \
81+ ghe-rsync -avH --delete \
8282 -e " ssh -q $opts -p $port -F $config_file -l $user " \
8383 --rsync-path=" sudo -u git rsync" \
8484 " $GHE_DATA_DIR /$GHE_RESTORE_SNAPSHOT /git-hooks/repos/" \
85- " $hostname :$GHE_REMOTE_DATA_USER_DIR /git-hooks/repos" &
85+ " $hostname :$GHE_REMOTE_DATA_USER_DIR /git-hooks/repos" 1>&3 &
8686 done
8787
8888 for pid in $( jobs -p) ; do
0 commit comments