]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm log test: Fix it to work again
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 9 Oct 2017 11:28:17 +0000 (14:28 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 9 Oct 2017 11:28:17 +0000 (14:28 +0300)
Broken by 719abeb2088987f213a33a7dd1fe78958beaef03

src/doveadm/doveadm-log.c

index 582b7e163e368e243b85444a454db86c02e11a82..35b0613f0e65df88c09544024c6e50ce39e71ee3 100644 (file)
@@ -32,6 +32,7 @@ cmd_log_test(int argc ATTR_UNUSED, char *argv[] ATTR_UNUSED)
        struct failure_context ctx;
        unsigned int i;
 
+       master_service->log_initialized = FALSE;
        master_service->flags |= MASTER_SERVICE_FLAG_DONT_LOG_TO_STDERR;
        master_service_init_log(master_service, "doveadm: ");