CTDB_INTERACTIVE will be used to tell the other daemons if the ctdb daemon
is started in interactive mode. This is primarily used only for testing.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
/* Log to stderr (ignoring configuration) when running as interactive */
if (interactive) {
logging_location = "file:";
+ setenv("CTDB_INTERACTIVE", "true", 1);
} else {
logging_location = logging_conf_location(conf);
}