diff options
author | Wayne Davison <wayned@samba.org> | 2008-12-27 11:07:57 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-12-27 11:09:53 -0800 |
commit | c43c66125e8fd35896a358ccce9687ebcfe82dc5 (patch) | |
tree | 7981b3c8ffe20da299d92ee9ed552646c225831f | |
parent | 8b7a752024f34a220ef340d9b466ec871e6cbc0a (diff) | |
download | android_external_rsync-c43c66125e8fd35896a358ccce9687ebcfe82dc5.tar.gz android_external_rsync-c43c66125e8fd35896a358ccce9687ebcfe82dc5.tar.bz2 android_external_rsync-c43c66125e8fd35896a358ccce9687ebcfe82dc5.zip |
Allow opendir() in send_directory() to fail with ENOENT.
-rw-r--r-- | flist.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |