e1e2b61ecf
These 5 functions were called in conditional statements but had NO explicit return: - step1_detect_datadir (line 2138) - used in: while ! step1_detect_datadir - step2_set_restore_location (line 2376) - used in: while ! step2_set_restore_location - step3_select_database (line 2448) - used in: while ! step3_select_database - step4_configure_options (line 2511) - called in menu case 4 - step5_create_dump (line 2674) - used in: if step5_create_dump All ended with press_enter and closing brace with NO explicit return 0. This caused undefined return codes from read command, breaking while/if logic. FIX: Added explicit `return 0` before closing brace in all 5 functions. These were CATASTROPHICALLY MISSED in previous audit! Script would have failed in production when any step completed successfully. Severity: CRITICAL Impact: Script cannot function without explicit returns on success paths Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>