From da2a6c1f1ca89140622a38d9a8398dd5507883e5 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 17 Mar 2005 00:52:33 +0000 Subject: [PATCH] Fixed the -r kluge sent for pre-2.6.4 --list-only support. --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.c b/options.c index a9f4c2d7..b6500579 100644 --- a/options.c +++ b/options.c @@ -1301,7 +1301,7 @@ void server_options(char **args,int *argc) /* This is a complete hack - blame Rusty. FIXME! * This hack is only needed for older rsync versions that * don't understand the --list-only option. */ - if (list_only == 1 && recurse) + if (list_only == 1 && !recurse) argstr[x++] = 'r'; argstr[x] = 0; -- 2.34.1