From: Wayne Davison Date: Thu, 17 Mar 2005 00:52:33 +0000 (+0000) Subject: Fixed the -r kluge sent for pre-2.6.4 --list-only support. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/da2a6c1f1ca89140622a38d9a8398dd5507883e5 Fixed the -r kluge sent for pre-2.6.4 --list-only support. --- 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;