When running rsync against rsync://rpki.ripe.net/repository it will
print the following all the time:
The RIPE NCC Certification Repository is subject to Terms and Conditions
See http://www.ripe.net/lir-services/ncc/legal/certification/repository-tc

This is not helpful. I changed the log message to only print if -v is
used. My goal is that rpki-client is silent if no errors happen and this
is currently printed twice and is not helpful.

OK?
-- 
:wq Claudio

Index: socket.c
===================================================================
RCS file: /cvs/src/usr.bin/rsync/socket.c,v
retrieving revision 1.26
diff -u -p -r1.26 socket.c
--- socket.c    9 Aug 2019 05:28:01 -0000       1.26
+++ socket.c    9 Aug 2019 09:57:48 -0000
@@ -234,7 +234,7 @@ protocol_line(struct sess *sess, __attri
        int     major, minor;
 
        if (strncmp(cp, "@RSYNCD: ", 9)) {
-               LOG0("%s", cp);
+               LOG1("%s", cp);
                return 0;
        }
 

Reply via email to