From d9b8c65d0a0ffc709ba7d23c449dbf2f46b10674 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 9 Jan 2009 13:57:30 -0500 Subject: [PATCH] quota: Log a bit more when "Unknown backend" error happens. --HG-- branch : HEAD --- src/plugins/quota/quota.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plugins/quota/quota.c b/src/plugins/quota/quota.c index 6c754baa7d..f61cafcf27 100644 --- a/src/plugins/quota/quota.c +++ b/src/plugins/quota/quota.c @@ -99,8 +99,10 @@ quota_root_settings_init(struct quota_settings *quota_set, const char *root_def) } backend = quota_backend_find(backend_name); - if (backend == NULL) - i_fatal("Unknown quota backend: %s", backend_name); + if (backend == NULL) { + i_error("Unknown quota backend: %s", backend_name); + return NULL; + } root_set = p_new(quota_set->pool, struct quota_root_settings, 1); root_set->set = quota_set; -- 2.47.3