Fix core menu option 10 (Full reinstall) not working
Issue: Option 10 was immediately returning to main menu instead of performing the reinstall. Root Cause: The menu case statement had 'return' after full_reinstall, which caused it to exit the core_settings_menu even when the user cancelled the reinstall (by not typing 'YES'). Fix: Removed the 'return' statement from line 8994. Now when users cancel, they stay in the core settings menu. When reinstall completes, the pause() at the end lets them press enter and naturally return to the menu for additional configuration. Note: Option 11 (complete_uninstall) correctly keeps 'return' since uninstalling should exit the entire menu system.
This commit is contained in:
@@ -8990,9 +8990,9 @@ core_menu() {
|
||||
6) configure_power_display_quiet ;;
|
||||
7) load_existing_config; if configure_optional_features; then save_config; fi ;;
|
||||
8) load_existing_config; if configure_password_protection; then save_config; fi ;;
|
||||
9) configure_hidden_site_pin ;; # <- ADD THIS
|
||||
10) full_reinstall; return ;; # <- UPDATE THESE
|
||||
11) complete_uninstall; return ;; # <- UPDATE THESE
|
||||
9) configure_hidden_site_pin ;;
|
||||
10) full_reinstall ;;
|
||||
11) complete_uninstall; return ;;
|
||||
0) return ;;
|
||||
esac
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user