X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/81791cfccb89cde245a335d5df223c8a668030b0..83fff1aa6036f38a3d2daf6d809bd9c10d28fae6:/clientserver.c diff --git a/clientserver.c b/clientserver.c index 809d16bc..299e771e 100644 --- a/clientserver.c +++ b/clientserver.c @@ -253,7 +253,7 @@ static int rsync_module(int fd, int i) request = strdup(p); start_glob++; } - glob_expand(name, argv, &argc, MAX_ARGS); + glob_expand(name, argv, &argc, MAX_ARGS, !use_chroot); } else { argc++; } @@ -310,8 +310,7 @@ static int rsync_module(int fd, int i) io_start_multiplex_out(fd); if (!ret) { - rprintf(FERROR,"Error parsing options (unsupported option?) - aborting\n"); - exit_cleanup(RERR_SYNTAX); + option_error(); } if (lp_timeout(i)) {