[dovecot-cvs] dovecot/src/lib module-dir.c,1.5,1.6

cras at procontrol.fi cras at procontrol.fi
Mon May 31 00:15:21 EEST 2004


Update of /home/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv5009/lib

Modified Files:
	module-dir.c 
Log Message:
Don't complain if module directory doesn't exist



Index: module-dir.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/module-dir.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- a/module-dir.c	30 May 2004 04:55:58 -0000	1.5
+++ b/module-dir.c	30 May 2004 21:15:19 -0000	1.6
@@ -100,7 +100,8 @@
 
 	dirp = opendir(dir);
 	if (dirp == NULL) {
-		i_error("opendir(%s) failed: %m", dir);
+		if (errno != ENOENT)
+			i_error("opendir(%s) failed: %m", dir);
 		return NULL;
 	}
 



More information about the dovecot-cvs mailing list