Commit 70e47621 authored by Geoff Simmons's avatar Geoff Simmons

child process dumps config to log at debug level

parent 391151e7
...@@ -438,12 +438,15 @@ CHILD_Main(int readconfig) ...@@ -438,12 +438,15 @@ CHILD_Main(int readconfig)
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
} }
PRIV_Sandbox(); PRIV_Sandbox();
pw = getpwuid(geteuid()); pw = getpwuid(geteuid());
AN(pw); AN(pw);
LOG_Log(LOG_NOTICE, "Running as %s", pw->pw_name); LOG_Log(LOG_NOTICE, "Running as %s", pw->pw_name);
if (debug)
CONF_Dump();
/* read messaging module */ /* read messaging module */
if (config.mq_module[0] == '\0') { if (config.mq_module[0] == '\0') {
LOG_Log0(LOG_CRIT, "mq.module not found in config (required)"); LOG_Log0(LOG_CRIT, "mq.module not found in config (required)");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment