commit: a0841c139bd7830a56ad9e0dfb215148711a68c7
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 29 05:41:28 2020 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Wed Apr 29 05:41:28 2020 +0000
URL:
https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=a0841c13
probe-mirmon: be quiet if rsync site is broken
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
probe-mirmon | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/probe-mirmon b/probe-mirmon
index ddd8546..8dce832 100755
--- a/probe-mirmon
+++ b/probe-mirmon
@@ -48,8 +48,8 @@ sub handle_rsync {
$file =~ s/\W/_/g; # translate all non-letters to _
- if ( my $fail = system '/usr/bin/rsync', qw( --no-motd --timeout ),
$timeout, $url, "$dir/$file" ) {
- warn "rsync failed, exit code $fail, $! $? $@\n";
+ if ( my $fail = system '/usr/bin/rsync', qw( -q --no-motd --timeout ),
$timeout, $url, "$dir/$file" ) {
+ #warn "rsync failed, exit code $fail, $! $? $@\n";
exit $fail;
}