From 88558f81e3fdb05f75ee7b6f3ce65f0dbd81bcf1 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Tue, 12 Mar 2024 10:22:49 -0400 Subject: [PATCH] Return the result, not None to avoid crashing the management daemon --- management/mailconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/mailconfig.py b/management/mailconfig.py index 464fbf87..c5ad39e6 100755 --- a/management/mailconfig.py +++ b/management/mailconfig.py @@ -1326,7 +1326,7 @@ def remove_mail_alias(address_utf8, env, do_kick=True, auto=None, ignore_if_not_ # Update things in case any domains are removed. return kick(env, return_status) else: - None + return return_status def add_auto_aliases(aliases, env):