Skip to content

Commit 978108e

Browse files
committed
Redirect stderr to /dev/null on real mode
1 parent e92b2c8 commit 978108e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sync.gsutil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ export BOTO_PATH=/backup/serverbackup/boto.cfg
55
if [ "$DRY_RUN" ]; then
66
/backup/gsutil/gsutil rsync -n -r $1 gs://$2/$3
77
else
8-
/backup/gsutil/gsutil rsync -r $1 gs://$2/$3
8+
/backup/gsutil/gsutil rsync -r $1 gs://$2/$3 2> /dev/null
99
fi
1010
exit $?

0 commit comments

Comments
 (0)