Skip to content

Commit 5f2ec23

Browse files
authored
Merge pull request #370 from github/fix-overrides
Fix custom options being overridden on execution
2 parents eb5d42c + d1cc3d6 commit 5f2ec23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/github-backup-utils/ghe-rsync

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set -o pipefail
1414
# stderr (rsync versions >= 3.x). The complex redirections are necessary to
1515
# filter stderr while also keeping stdout and stderr separated.
1616
IGNOREOUT='^(file has vanished: |rsync warning: some files vanished before they could be transferred)'
17-
(rsync $GHE_EXTRA_RSYNC_OPTS "${@}" 3>&1 1>&2 2>&3 3>&- |
17+
(rsync "${@}" $GHE_EXTRA_RSYNC_OPTS 3>&1 1>&2 2>&3 3>&- |
1818
(egrep -v "$IGNOREOUT" || true)) 3>&1 1>&2 2>&3 3>&- |
1919
(egrep -v "$IGNOREOUT" || true)
2020
res=$?

0 commit comments

Comments
 (0)