mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-24 22:58:16 -04:00
- Call init_flist().
- Got rid of the symbolic-links-warning code (it was not right, and it is now handled in options.c).
This commit is contained in:
1 parent
61dec11ae0
commit
44e9e221f3
1 file changed
+2
-7
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user