From a8b291c5025148be25d02a06b138f2581d90f4da Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Fri, 19 Aug 2011 10:03:50 -0700
Subject: [PATCH] BGQ - minor fix to work on a real BGQ system

---
 src/plugins/select/bluegene/bl_bgq/bridge_linker.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc b/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc
index ad393904f36..dc1118e2479 100644
--- a/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc
+++ b/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc
@@ -616,8 +616,8 @@ extern int bridge_block_boot(bg_record_t *bg_record)
 		      "happened removing users from block %s",
 		      bg_record->bg_block_id);
 		return SLURM_ERROR;
-	} else if (rc == REMOVE_USER_NONE && user_name)
-		rc = bridge_block_add_user(bg_record, user_name);
+	} else if (rc == REMOVE_USER_NONE && bg_conf->slurm_user_name)
+		rc = bridge_block_add_user(bg_record, bg_conf->slurm_user_name);
 
 	if (rc != SLURM_SUCCESS)
 		return SLURM_ERROR;
-- 
GitLab