i_assert(master_getopt_str_is_valid(service->getopt_str));
+ service->options_parsed = TRUE;
while ((c = getopt(service->argc, service->argv,
service->getopt_str)) > 0) {
if (!master_service_parse_option(service, c, optarg))
i_assert(master_getopt_str_is_valid(service->getopt_str));
+ service->options_parsed = TRUE;
int c;
int longopt_idx = -1;
while ((c = getopt_long(service->argc, service->argv,
{
const char *timestamp;
+ i_assert(service->options_parsed);
+
if ((service->flags & MASTER_SERVICE_FLAG_STANDALONE) != 0 &&
(service->flags & MASTER_SERVICE_FLAG_DONT_LOG_TO_STDERR) == 0) {
timestamp = getenv(DOVECOT_LOG_STDERR_TIMESTAMP_ENV);