Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Properly ignore source args on a --read-batch command.
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
f342150
..
c050aaa
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1206,8
+1206,8
@@
static int start_client(int argc, char *argv[])
rprintf(FERROR, "remote destination is not allowed with --read-batch\n");
exit_cleanup(RERR_SYNTAX);
}
- remote_argv = argv + argc - 1;
- remote_argc = 1;
+ remote_argv = argv +
=
argc - 1;
+ remote_argc =
argc =
1;
}
if (am_sender) {