From a5c6aa7e5d5fbc0644c364eb116624ce6a8dc735 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 6 May 2020 12:15:51 +0000 Subject: rpki-client is only interested in real files. Don't tell rsync to preserve symbolic links. Instead just ignore them. OK benno@ deraadt@ --- usr.sbin/rpki-client/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 * @@ -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"; -- cgit v1.2.3