summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2019-08-09 13:11:27 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2019-08-09 13:11:27 +0000
commit62bf26cc0e4ee885af28a8815a1a78a1546a620b (patch)
tree6f8ca862695d7b80aeaa0be108fa4a3277ea5744 /usr.bin
parentdcd4963c49593b48ca447d4f4b36922bb83e87aa (diff)
Only print the message of the day in the rsyncd header if rsync is
started with -v. In normal operation rsync should only print errors. OK benno@ deraadt@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rsync/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rsync/socket.c b/usr.bin/rsync/socket.c
index 7329aba13e5..f0932bf823a 100644
--- a/usr.bin/rsync/socket.c
+++ b/usr.bin/rsync/socket.c
@@ -1,4 +1,4 @@
-/* $Id: socket.c,v 1.26 2019/08/09 05:28:01 claudio Exp $ */
+/* $Id: socket.c,v 1.27 2019/08/09 13:11:26 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -234,7 +234,7 @@ protocol_line(struct sess *sess, __attribute__((unused)) const char *host,
int major, minor;
if (strncmp(cp, "@RSYNCD: ", 9)) {
- LOG0("%s", cp);
+ LOG1("%s", cp);
return 0;
}