X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/aa7a6e878bf09d81122bb29b32deab2966c74b61..f328e0f3a8a1d4726b0d3315838c6a109d579acb:/options.c 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;