If --no-ir is specified, pass it to the server.
authorWayne Davison <wayned@samba.org>
Tue, 24 Jul 2007 04:09:46 +0000 (04:09 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 24 Jul 2007 04:09:46 +0000 (04:09 +0000)
options.c

index 5adcf7b..4331fc6 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1887,6 +1887,9 @@ void server_options(char **args,int *argc)
        if (numeric_ids)
                args[ac++] = "--numeric-ids";
 
+       if (!allow_inc_recurse)
+               args[ac++] = "--no-ir";
+
        if (am_sender) {
                if (ignore_existing)
                        args[ac++] = "--ignore-existing";