Skip to content

Commit 7fa99f7

Browse files
authored
Merge branch 'master' into lildude/handle-empty-result
2 parents 22c2718 + ce76dea commit 7fa99f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

share/github-backup-utils/ghe-backup-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fi
8080
# otherwise, redirect it to /dev/null. Write verbose output to fd 3.
8181
if [ -n "$GHE_VERBOSE" ]; then
8282
if [ -n "$GHE_VERBOSE_LOG" ]; then
83-
exec 3<> "$GHE_VERBOSE_LOG"
83+
exec 3>> "$GHE_VERBOSE_LOG"
8484
else
8585
exec 3>&1
8686
fi

share/github-backup-utils/ghe-backup-repositories

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ rsync_repository_data () {
166166
--files-from="$files_list" \
167167
--ignore-missing-args \
168168
"$host:$GHE_REMOTE_DATA_USER_DIR/repositories/" \
169-
"$backup_dir" 1>&3
169+
"$backup_dir" 1>&3 2>&3
170170
else
171171
shift
172172
ghe-rsync -avr \
@@ -176,7 +176,7 @@ rsync_repository_data () {
176176
--include-from=- --exclude=\* \
177177
--ignore-missing-args \
178178
"$host:$GHE_REMOTE_DATA_USER_DIR/repositories/" \
179-
"$backup_dir" 1>&3
179+
"$backup_dir" 1>&3 2>&3
180180
fi
181181
}
182182

0 commit comments

Comments
 (0)