dovecot-2.0: doveconf: Improved "config not found" error.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Oct 12 23:01:59 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/92e1273cf55a
changeset: 10042:92e1273cf55a
user: Timo Sirainen <tss at iki.fi>
date: Mon Oct 12 16:01:53 2009 -0400
description:
doveconf: Improved "config not found" error.
diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
src/config/doveconf.c | 6 ++++--
diffs (16 lines):
diff -r 762acf3cce32 -r 92e1273cf55a src/config/doveconf.c
--- a/src/config/doveconf.c Mon Oct 12 15:59:45 2009 -0400
+++ b/src/config/doveconf.c Mon Oct 12 16:01:53 2009 -0400
@@ -277,8 +277,10 @@ int main(int argc, char *argv[])
master_service_init_finish(master_service);
if ((ret = config_parse_file(config_path, FALSE, &error)) == 0 &&
- access(EXAMPLE_CONFIG_DIR, X_OK) == 0)
- i_fatal("%s (example config in "EXAMPLE_CONFIG_DIR"/)", error);
+ access(EXAMPLE_CONFIG_DIR, X_OK) == 0) {
+ i_fatal("%s (copy example configs from "EXAMPLE_CONFIG_DIR"/)",
+ error);
+ }
if (ret <= 0)
i_fatal("%s", error);
More information about the dovecot-cvs
mailing list