Fix CRITICAL: Remove invalid 'local' keyword in script scope
- deliverability-test.sh line 102: Changed 'local smtp_ok=0' to 'smtp_ok=0' - local keyword only valid inside functions, not in loop at script scope - This was causing QA CRITICAL error Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -99,7 +99,7 @@ else
|
|||||||
echo " • Priority $priority: $server"
|
echo " • Priority $priority: $server"
|
||||||
|
|
||||||
# Try to connect to SMTP using multiple methods
|
# Try to connect to SMTP using multiple methods
|
||||||
local smtp_ok=0
|
smtp_ok=0
|
||||||
|
|
||||||
# Try nc first if available
|
# Try nc first if available
|
||||||
if command -v nc &>/dev/null; then
|
if command -v nc &>/dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user