From 11bc66aad34e2f5c53807189c2eccdf59f8305c1 Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Mon, 7 Jan 2013 13:12:37 -0800
Subject: [PATCH] BG - fix check of topology plugin

---
 src/common/read_config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/read_config.c b/src/common/read_config.c
index 07ae62f6fa3..5d32f6f33ee 100644
--- a/src/common/read_config.c
+++ b/src/common/read_config.c
@@ -3503,7 +3503,7 @@ _validate_and_set_defaults(slurm_ctl_conf_t *conf, s_p_hashtbl_t *hashtbl)
 	if (!s_p_get_string(&conf->topology_plugin, "TopologyPlugin", hashtbl))
 		conf->topology_plugin = xstrdup(DEFAULT_TOPOLOGY_PLUGIN);
 #ifdef HAVE_BG
-	if (strcmp(conf->proctrack_type, "topology/none")) {
+	if (strcmp(conf->topology_plugin, "topology/none")) {
 		fatal("On IBM BlueGene systems TopologyPlugin=topology/none "
 		      "is required");
 	}
-- 
GitLab