From a0841c139bd7830a56ad9e0dfb215148711a68c7 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 28 Apr 2020 22:41:28 -0700 Subject: probe-mirmon: be quiet if rsync site is broken Signed-off-by: Robin H. Johnson --- 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; } -- cgit v1.2.3-65-gdbad