Mercurial > dovecot > core-2.2
changeset 19460:1b32cd3b872c
doveadm fts lookup/expand: Don't assert-crash if fts isn't configured.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 04 Dec 2015 13:27:28 +0200 |
parents | 6cb9889cc960 |
children | 9a81cb959ce6 |
files | src/plugins/fts/doveadm-fts.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/fts/doveadm-fts.c Fri Dec 04 12:29:12 2015 +0200 +++ b/src/plugins/fts/doveadm-fts.c Fri Dec 04 13:27:28 2015 +0200 @@ -26,6 +26,7 @@ backend = fts_list_backend(info->ns->list); if (backend == NULL) { i_error("fts not enabled for %s", info->vname); + ctx->exit_code = EX_CONFIG; return -1; } @@ -118,6 +119,7 @@ backend = fts_list_backend(ns->list); if (backend == NULL) { i_error("fts not enabled for INBOX"); + ctx->exit_code = EX_CONFIG; return -1; }