commit: 5324a1b1396fe2f54245109cf1de407399d87aa3 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Thu Apr 30 05:56:28 2020 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Thu Apr 30 06:01:51 2020 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=5324a1b1
probe-mirmon: discard rsync stderr Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> probe-mirmon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/probe-mirmon b/probe-mirmon index 8dce832..8c57691 100755 --- a/probe-mirmon +++ b/probe-mirmon @@ -48,7 +48,7 @@ sub handle_rsync { $file =~ s/\W/_/g; # translate all non-letters to _ - if ( my $fail = system '/usr/bin/rsync', qw( -q --no-motd --timeout ), $timeout, $url, "$dir/$file" ) { + if ( my $fail = system '/usr/bin/rsync', qw( -q --no-motd --timeout ), $timeout, $url, "$dir/$file", '2>/dev/null' ) { #warn "rsync failed, exit code $fail, $! $? $@\n"; exit $fail; }