Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
353f272
)
Mustn't override a user-specified list_only value.
author
Wayne Davison
<wayned@samba.org>
Sat, 22 Jan 2005 20:28:17 +0000
(20:28 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 22 Jan 2005 20:28:17 +0000
(20:28 +0000)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
b090f66
..
306673a
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-730,7
+730,7
@@
int client_run(int f_in, int f_out, pid_t pid, int argc, char *argv[])
exit_cleanup(status);
}
- if (argc == 0)
+ if (argc == 0
&& !list_only
)
list_only = 1;
if (!read_batch)
@@
-962,9
+962,8
@@
static int start_client(int argc, char *argv[])
}
/* ... or no dest at all */
- if (!am_sender && argc == 0
) {
+ if (!am_sender && argc == 0
&& !list_only)
list_only = 1;
- }
pid = do_cmd(shell_cmd,shell_machine,shell_user,shell_path,
&f_in,&f_out);