summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-02-02 21:33:06 +0000
committerWayne Davison <wayned@samba.org>2004-02-02 21:33:06 +0000
commit44e9e221f3c36df43cf22a9f2407de12cfbf9a99 (patch)
tree9388e83b09084ebc23c852446f2ff7c267edd5f5 /main.c
parent61dec11ae0f84fceb6a9d513789fb4b7e5f30823 (diff)
downloadrsync-44e9e221f3c36df43cf22a9f2407de12cfbf9a99.tar.gz
rsync-44e9e221f3c36df43cf22a9f2407de12cfbf9a99.tar.bz2
rsync-44e9e221f3c36df43cf22a9f2407de12cfbf9a99.zip
- Call init_flist().
- Got rid of the symbolic-links-warning code (it was not right, and it is now handled in options.c).
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/main.c b/main.c
index b40922a2..03133cf1 100644
--- a/main.c
+++ b/main.c
@@ -1013,6 +1013,8 @@ int main(int argc,char *argv[])
* that implement getcwd that way "pwd" can't be found after chroot. */
push_dir(NULL);
+ init_flist();
+
if (write_batch && !am_server) {
write_batch_argvs_file(orig_argc, orig_argv);
}
@@ -1028,13 +1030,6 @@ int main(int argc,char *argv[])
if (dry_run)
verbose = MAX(verbose,1);
-#ifndef SUPPORT_LINKS
- if (!am_server && preserve_links) {
- rprintf(FERROR,"ERROR: symbolic links not supported\n");
- exit_cleanup(RERR_UNSUPPORTED);
- }
-#endif
-
if (am_server) {
set_nonblocking(STDIN_FILENO);
set_nonblocking(STDOUT_FILENO);