From 5324a1b1396fe2f54245109cf1de407399d87aa3 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Wed, 29 Apr 2020 22:56:28 -0700 Subject: probe-mirmon: discard rsync stderr Signed-off-by: Robin H. Johnson --- 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; } -- cgit v1.2.3-65-gdbad