From 43140f088e0fb6a2867c5020e20cb0e49f5128d0 Mon Sep 17 00:00:00 2001 From: job Date: Thu, 1 Apr 2021 11:04:30 +0000 Subject: [PATCH] Abate superfluous lines from remote servers OK claudio@ --- usr.sbin/rpki-client/rsync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/rpki-client/rsync.c b/usr.sbin/rpki-client/rsync.c index 5f6e16914ed..6bb104122ae 100644 --- a/usr.sbin/rpki-client/rsync.c +++ b/usr.sbin/rpki-client/rsync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rsync.c,v 1.22 2021/03/18 15:47:10 claudio Exp $ */ +/* $OpenBSD: rsync.c,v 1.23 2021/04/01 11:04:30 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -270,6 +270,7 @@ proc_rsync(char *prog, char *bind_addr, int fd) i = 0; args[i++] = (char *)prog; args[i++] = "-rt"; + args[i++] = "--no-motd"; args[i++] = "--timeout"; args[i++] = "180"; if (bind_addr != NULL) { -- 2.20.1