A couple improvements to the new arg-globbing code:
[rsync/rsync.git] / io.c
diff --git a/io.c b/io.c
index 018dd28..d29643d 100644 (file)
--- a/io.c
+++ b/io.c
@@ -921,6 +921,8 @@ void read_args(int f_in, char *mod_name, char *buf, size_t bufsiz, int rl_nulls,
        }
        argv[argc] = NULL;
 
+       glob_expand(NULL, NULL, NULL, NULL);
+
        *argc_p = argc;
        *argv_p = argv;
 }