]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-master: Reset master_service.config_path_from_master if -c parameter is used
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 16 Feb 2021 13:38:36 +0000 (15:38 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 19 Feb 2021 08:40:16 +0000 (08:40 +0000)
This doesn't fix anything currently, but clarifies the behavior and
is needed by the following commit.

src/lib-master/master-service.c

index f86aaa2667a49952ac8664a5a8c3cc6630e7491e..90ca40f744ee1bfcb9887711de36f750f57dd048 100644 (file)
@@ -592,6 +592,7 @@ bool master_service_parse_option(struct master_service *service,
                i_free(service->config_path);
                service->config_path = i_strdup(arg);
                service->config_path_changed_with_param = TRUE;
+               service->config_path_from_master = FALSE;
                break;
        case 'i':
                if (!get_instance_config(arg, &path))