Mercurial > dovecot > core-2.2
changeset 10042:92e1273cf55a HEAD
doveconf: Improved "config not found" error.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 12 Oct 2009 16:01:53 -0400 |
parents | 762acf3cce32 |
children | f5c2bc161baa |
files | src/config/doveconf.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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);