]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
quota: Enable program-client debug when mail_debug is enabled
authorAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 8 May 2019 09:46:48 +0000 (12:46 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Sun, 12 May 2019 10:59:24 +0000 (10:59 +0000)
Makes it easier to see that program-client actually
executed a warning script.

src/plugins/quota/quota.c

index 35b03a6e53b9f214967c16d0d57e2d6790ee5690..2bd54cebcdfc377a8495ce4c0dc4a6ee163565f5 100644 (file)
@@ -1026,6 +1026,7 @@ static void quota_warning_execute(struct quota_root *root, const char *cmd,
 
        struct program_client_settings set = {
                .client_connect_timeout_msecs = 1000,
+               .debug = root->quota->user->mail_debug,
        };
        struct program_client *pc;