File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
share/github-backup-utils Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 80
80
# otherwise, redirect it to /dev/null. Write verbose output to fd 3.
81
81
if [ -n " $GHE_VERBOSE " ]; then
82
82
if [ -n " $GHE_VERBOSE_LOG " ]; then
83
- exec 3< > " $GHE_VERBOSE_LOG "
83
+ exec 3> > " $GHE_VERBOSE_LOG "
84
84
else
85
85
exec 3>&1
86
86
fi
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ rsync_repository_data () {
166
166
--files-from=" $files_list " \
167
167
--ignore-missing-args \
168
168
" $host :$GHE_REMOTE_DATA_USER_DIR /repositories/" \
169
- " $backup_dir " 1>&3
169
+ " $backup_dir " 1>&3 2>&3
170
170
else
171
171
shift
172
172
ghe-rsync -avr \
@@ -176,7 +176,7 @@ rsync_repository_data () {
176
176
--include-from=- --exclude=\* \
177
177
--ignore-missing-args \
178
178
" $host :$GHE_REMOTE_DATA_USER_DIR /repositories/" \
179
- " $backup_dir " 1>&3
179
+ " $backup_dir " 1>&3 2>&3
180
180
fi
181
181
}
182
182
You can’t perform that action at this time.
0 commit comments