Browse Source

cfg framework: apply additional var list bugfix

The variable list needs to be applied for each group
Miklos Tirpak 15 years ago
parent
commit
90003ec474
1 changed files with 5 additions and 4 deletions
  1. 5 4
      cfg/cfg_struct.c

+ 5 - 4
cfg/cfg_struct.c

@@ -255,11 +255,12 @@ int cfg_shmize(void)
 					group->name_len, group->name);
 			goto error;
 		}
+
+		/* Create the additional group instances with applying
+		the temporary list. */
+		if (apply_add_var_list(block, group))
+			goto error;
 	}
-	/* Create the additional group instances with applying
-	the temporary list. */
-	if (apply_add_var_list(block, group))
-		goto error;
 
 	/* try to fixup the selects that failed to be fixed-up previously */
 	if (cfg_fixup_selects()) goto error;