changeset 5425:72aaf2069aa3 HEAD

If storage creation failed, exit with EX_TEMPFAIL instead of EX_CONFIG.
author Timo Sirainen <tss@iki.fi>
date Mon, 26 Mar 2007 03:10:08 +0300
parents 448901e76f93
children f5a179e4f405
files src/deliver/deliver.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/deliver/deliver.c	Mon Mar 26 02:58:22 2007 +0300
+++ b/src/deliver/deliver.c	Mon Mar 26 03:10:08 2007 +0300
@@ -663,7 +663,7 @@
 	storage = mail_storage_create_with_data(mail_env, destination,
 						flags, lock_method);
 	if (storage == NULL) {
-		i_fatal_status(EX_CONFIG,
+		i_fatal_status(EX_TEMPFAIL,
 			"Failed to create storage for '%s' with mail '%s'",
 			destination, mail_env == NULL ? "(null)" : mail_env);
 	}