mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-04-27 17:52:05 -04:00
Allow opendir() in send_directory() to fail with ENOENT.
This commit is contained in:
2
flist.c
2
flist.c
@@ -1639,6 +1639,8 @@ static void send_directory(int f, struct file_list *flist, char *fbuf, int len,
|
||||
assert(flist != NULL);
|
||||
|
||||
if (!(d = opendir(fbuf))) {
|
||||
if (errno == ENOENT)
|
||||
return;
|
||||
io_error |= IOERR_GENERAL;
|
||||
rsyserr(FERROR_XFER, errno, "opendir %s failed", full_fname(fbuf));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user