diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2020-04-29 22:56:28 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2020-04-29 23:01:51 -0700 |
commit | 5324a1b1396fe2f54245109cf1de407399d87aa3 (patch) | |
tree | 8c9a85a1fc0dc8e43751ce98042ee93123603111 | |
parent | Clean up the new index page (diff) | |
download | gentoo-mirrorstats-5324a1b1396fe2f54245109cf1de407399d87aa3.tar.gz gentoo-mirrorstats-5324a1b1396fe2f54245109cf1de407399d87aa3.tar.bz2 gentoo-mirrorstats-5324a1b1396fe2f54245109cf1de407399d87aa3.zip |
probe-mirmon: discard rsync stderr
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | probe-mirmon | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |