Remove 'View recent errors' prompt - not needed

Removed the "View recent errors from log now? (y/n):" prompt
from show_recovery_options(). This prompt was:
1. Unnecessary - user knows the dump failed
2. Causing confusion with "Press Enter" flow
3. Taking up space in recovery menu

Now goes STRAIGHT to recovery mode selection [1-6] or [A]
No intermediate prompts, no confusing messages
Just: select recovery mode or auto-escalate

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
cschantz
2026-02-27 21:26:48 -05:00
parent 06dea2ce18
commit 55b2e7fec7
+1 -15
View File
@@ -1503,21 +1503,7 @@ show_recovery_options() {
echo " $error_log"
echo ""
# Offer to show recent errors
echo -n "View recent errors from log now? (y/n): "
read -r view_errors
if [ "$view_errors" = "y" ]; then
echo ""
echo "════════════════════════════════════════════════════════════════"
echo "LAST 50 LINES OF ERROR LOG"
echo "════════════════════════════════════════════════════════════════"
tail -50 "$error_log" 2>/dev/null || echo "Error log not found"
echo "════════════════════════════════════════════════════════════════"
echo ""
fi
# Prompt user for action (don't just "Press Enter")
echo ""
# Prompt user for action
print_info "What would you like to do?"
echo ""
echo " [1] Retry with recovery mode 1 (ignore corrupt pages)"