From 2b8d77e76fa6d259aab82534368a488399322e37 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sun, 30 Nov 2025 06:09:28 -0700 Subject: [PATCH] workan on da changeport --- custom_bin/changeport.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_bin/changeport.sh b/custom_bin/changeport.sh index e1d87a1..79d5aa6 100644 --- a/custom_bin/changeport.sh +++ b/custom_bin/changeport.sh @@ -22,7 +22,7 @@ done if [ $COUNTER -gt 0 ]; then echo -e "\nEnter TTY Number You'd Like:" read tty - ttyselect="${devarr[$tty]}" + ttyselect="${devarr[$(($tty + 1))]}" else echo -e "\nNo Serial Devices Found, Select one later with 'changeport'\n" fi