Commit f81ae155 authored by Shane Snyder's avatar Shane Snyder

better expose another env variable

parent 70ffe5a7
......@@ -157,7 +157,7 @@ void mobject_store_shutdown(mobject_store_t cluster)
if (!cluster_handle->connected)
return;
svr_kill_env_str = getenv("MOBJECT_SHUTDOWN_KILL_SERVERS");
svr_kill_env_str = getenv(MOBJECT_CLUSTER_SHUTDOWN_KILL_ENV);
if (svr_kill_env_str && !strcmp(svr_kill_env_str, "true"))
{
/* kill server cluster if requested */
......
......@@ -11,6 +11,7 @@
#include "libmobject-store.h"
#define MOBJECT_CLUSTER_FILE_ENV "MOBJECT_CLUSTER_FILE"
#define MOBJECT_CLUSTER_SHUTDOWN_KILL_ENV "MOBJECT_SHUTDOWN_KILL_SERVERS"
struct mobject_store_handle
{
......
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