Skip to content

Commit 9d57819

Browse files
authored
Merge pull request #288 from github/kill-cluster-backup-noise
🔥 some cluster backup noise
2 parents 282318f + 6bd3375 commit 9d57819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ ghe-ssh "$GHE_HOSTNAME" github-env ./bin/dgit-cluster-backup-routes \
135135
done
136136
bm_end "$(basename $0) - Calculating Sync Routes"
137137

138-
if ! ls $tempdir/*.rsync 2>/dev/null; then
138+
if ! ls $tempdir/*.rsync >/dev/null 2>&1; then
139139
echo "Warning: no routes found, skipping repositories backup ..."
140140
exit 0
141141
fi

0 commit comments

Comments
 (0)