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:
@@ -1503,21 +1503,7 @@ show_recovery_options() {
|
|||||||
echo " $error_log"
|
echo " $error_log"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# Offer to show recent errors
|
# Prompt user for action
|
||||||
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 ""
|
|
||||||
print_info "What would you like to do?"
|
print_info "What would you like to do?"
|
||||||
echo ""
|
echo ""
|
||||||
echo " [1] Retry with recovery mode 1 (ignore corrupt pages)"
|
echo " [1] Retry with recovery mode 1 (ignore corrupt pages)"
|
||||||
|
|||||||
Reference in New Issue
Block a user