diff --git a/asterisk.c b/asterisk.c index ca75659ed0b4cde06c96513f464e35debd8e5fb0..f9e8716f79fee613c3404255e26177e69f48b048 100644 --- a/asterisk.c +++ b/asterisk.c @@ -2129,6 +2129,10 @@ int main(int argc, char *argv[]) } } + if (ast_opt_console && !option_verbose) + ast_verbose("[ Reading Master Configuration ]"); + ast_readconfig(); + if (ast_opt_dump_core) { struct rlimit l; memset(&l, 0, sizeof(l)); @@ -2139,10 +2143,6 @@ int main(int argc, char *argv[]) } } - if (ast_opt_console && !option_verbose) - ast_verbose("[ Reading Master Configuration ]"); - ast_readconfig(); - if ((!rungroup) && !ast_strlen_zero(ast_config_AST_RUN_GROUP)) rungroup = ast_config_AST_RUN_GROUP; if ((!runuser) && !ast_strlen_zero(ast_config_AST_RUN_USER))