get_local_name() rather than using the (now removed)
new_root_dir global.
extern struct filter_list_struct server_filter_list;
int local_server = 0;
-int new_root_dir = 0;
int daemon_over_rsh = 0;
mode_t orig_umask = 0;
int batch_gen_fd = -1;
exit_cleanup(RERR_FILEIO);
}
- new_root_dir = 1;
+ if (strcmp(flist->files[0]->basename, ".") == 0)
+ flist->files[0]->flags |= FLAG_DIR_CREATED;
if (verbose)
rprintf(FINFO, "created directory %s\n", dest_path);