summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2020-05-06 12:15:50 +0000
committerclaudio <claudio@openbsd.org>2020-05-06 12:15:50 +0000
commit0e2b2fa91f9f10940838e6b58e843471223cb731 (patch)
treedf7315da4cfc1b96f649065b6a99793aa2745bf7
parentDo sanity checks in ip6_pullexthdr() preventing a panic in m_copydata(9). (diff)
downloadwireguard-openbsd-0e2b2fa91f9f10940838e6b58e843471223cb731.tar.xz
wireguard-openbsd-0e2b2fa91f9f10940838e6b58e843471223cb731.zip
rpki-client is only interested in real files. Don't tell rsync to
preserve symbolic links. Instead just ignore them. OK benno@ deraadt@
-rw-r--r--usr.sbin/rpki-client/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c
index 92c355a1bd1..1351a23d23d 100644
--- a/usr.sbin/rpki-client/main.c
+++ b/usr.sbin/rpki-client/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.68 2020/04/30 16:08:04 job Exp $ */
+/* $OpenBSD: main.c,v 1.69 2020/05/06 12:15:50 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -722,7 +722,7 @@ proc_rsync(char *prog, char *bind_addr, int fd, int noop)
err(1, "pledge");
i = 0;
args[i++] = (char *)prog;
- args[i++] = "-rlt";
+ args[i++] = "-rt";
args[i++] = "--delete";
if (bind_addr != NULL) {
args[i++] = "--address";