Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-mirrorstats:master commit in: /
Date: Thu, 30 Apr 2020 06:02:22
Message-Id: 1588226511.5324a1b1396fe2f54245109cf1de407399d87aa3.robbat2@gentoo
1 commit: 5324a1b1396fe2f54245109cf1de407399d87aa3
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 30 05:56:28 2020 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 06:01:51 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=5324a1b1
7
8 probe-mirmon: discard rsync stderr
9
10 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
11
12 probe-mirmon | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/probe-mirmon b/probe-mirmon
16 index 8dce832..8c57691 100755
17 --- a/probe-mirmon
18 +++ b/probe-mirmon
19 @@ -48,7 +48,7 @@ sub handle_rsync {
20
21 $file =~ s/\W/_/g; # translate all non-letters to _
22
23 - if ( my $fail = system '/usr/bin/rsync', qw( -q --no-motd --timeout ), $timeout, $url, "$dir/$file" ) {
24 + if ( my $fail = system '/usr/bin/rsync', qw( -q --no-motd --timeout ), $timeout, $url, "$dir/$file", '2>/dev/null' ) {
25 #warn "rsync failed, exit code $fail, $! $? $@\n";
26 exit $fail;
27 }