From ee83577a1dab8cada625e59dad354741bab94e3a Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Fri, 10 Jun 2005 16:17:50 +0000
Subject: [PATCH] minor fix

---
 src/plugins/select/bluegene/bgl_part_info.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/plugins/select/bluegene/bgl_part_info.c b/src/plugins/select/bluegene/bgl_part_info.c
index fc2c1692cfb..f002702a2ef 100644
--- a/src/plugins/select/bluegene/bgl_part_info.c
+++ b/src/plugins/select/bluegene/bgl_part_info.c
@@ -228,7 +228,7 @@ extern int update_partition_list()
 				   && bgl_record->user_name) {
 					if(!strcmp(bgl_record->target_name, 
 						   slurmctld_conf.
-						   slurm_user_name) {
+						   slurm_user_name)) {
 						if(strcmp(bgl_record->target_name, 
 							  bgl_record->user_name)) {
 							error("Partition %s was in a "
@@ -252,11 +252,12 @@ extern int update_partition_list()
 						      "for partition %s.",
 						      bgl_record->bgl_part_id);
 					}
-				} else if(bgl_record->user_name) {
-					error("Target Name was not set "
-					      "not set for partition %s.",
-					      bgl_record->bgl_part_id);
-					bgl_record->target_name = 
+					   
+					   } else if(bgl_record->user_name) {
+						   error("Target Name was not set "
+							 "not set for partition %s.",
+							 bgl_record->bgl_part_id);
+						   bgl_record->target_name = 
 						xstrdup(bgl_record->user_name);
 				} else {
 					error("Target Name and User Name are "
-- 
GitLab