mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
fix: remove invalid local keyword in main script body
The 'local' keyword can only be used inside functions. Line 423 had 'local timeout_count=0' in the main script body which caused a bash error. Removed the unused variable declaration. Fixes: bash error 'local: can only be used in a function' Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -420,7 +420,6 @@ stty -echo 2>/dev/null || true
|
||||
|
||||
# Interactive menu if no mode specified
|
||||
if [ -z "$MODE" ]; then
|
||||
local timeout_count=0
|
||||
while true; do
|
||||
show_header
|
||||
show_menu
|
||||
|
||||
Reference in New Issue
Block a user