summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2020-05-06 12:15:51 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2020-05-06 12:15:51 +0000
commita5c6aa7e5d5fbc0644c364eb116624ce6a8dc735 (patch)
tree37ebace281c5aea871bff8a378a5766c8f0bba92 /usr.sbin
parentbd88f3a520203a8aeb6076fe0ddd466ea559c294 (diff)
rpki-client is only interested in real files. Don't tell rsync to
preserve symbolic links. Instead just ignore them. OK benno@ deraadt@
Diffstat (limited to 'usr.sbin')
-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";