diff options
author | 2019-08-09 13:11:26 +0000 | |
---|---|---|
committer | 2019-08-09 13:11:26 +0000 | |
commit | 7b590dfabee6ae1b58e4f4d52c08d44225b5745b (patch) | |
tree | 99dcc304f9cd1208d6251c81230fdeafae2ca70a | |
parent | Add -b bind_addr as argument which is passed to rsync as --address to (diff) | |
download | wireguard-openbsd-7b590dfabee6ae1b58e4f4d52c08d44225b5745b.tar.xz wireguard-openbsd-7b590dfabee6ae1b58e4f4d52c08d44225b5745b.zip |
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@
-rw-r--r-- | usr.bin/rsync/socket.c | 4 |
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; } |