[dovecot-cvs] dovecot: If startup fails because of configuration problems, pri...

dovecot at dovecot.org dovecot at dovecot.org
Tue May 22 03:58:36 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/e1b3043c0d90
changeset: 5639:e1b3043c0d90
user:      Timo Sirainen <tss at iki.fi>
date:      Tue May 22 03:58:32 2007 +0300
description:
If startup fails because of configuration problems, print "Invalid
configuration in <path>"

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/master/main.c |    2 +-

diffs (12 lines):

diff -r 21fbdc921152 -r e1b3043c0d90 src/master/main.c
--- a/src/master/main.c	Tue May 22 02:17:17 2007 +0300
+++ b/src/master/main.c	Tue May 22 03:58:32 2007 +0300
@@ -861,7 +861,7 @@ int main(int argc, char *argv[])
 	master_settings_init();
 	if (!master_settings_read(configfile, exec_protocol != NULL,
 				  dump_config))
-		exit(FATAL_DEFAULT);
+		i_fatal("Invalid configuration in %s", configfile);
 	t_pop();
 
 	if (dump_config) {


More information about the dovecot-cvs mailing list