config: Fix issue where menu_tree would be always NULL
diff --git a/stage23/lib/config.c b/stage23/lib/config.c
index ab71d958..aa322486 100644
--- a/stage23/lib/config.c
+++ b/stage23/lib/config.c
@@ -137,10 +137,10 @@ int init_config(size_t config_size) {
}
}
- menu_tree = create_menu_tree(NULL, 1, 0);
-
config_ready = true;
+ menu_tree = create_menu_tree(NULL, 1, 0);
+
return 0;
}
