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
One minor tweak to the --delete-before option-passing code.
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
365d3ac
..
0819309
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-1223,7
+1223,7
@@
void server_options(char **args,int *argc)
args[ac++] = "--delete-excluded";
else if (delete_before == 1 || delete_after)
args[ac++] = "--delete";
- if (delete_before
== 2
)
+ if (delete_before
> 1
)
args[ac++] = "--delete-before";
if (delete_during)
args[ac++] = "--delete-during";