diff --git a/add-to-export-sh.txt b/add-to-export-sh.txt index 83939f3..cf7cc1e 100644 --- a/add-to-export-sh.txt +++ b/add-to-export-sh.txt @@ -37,7 +37,7 @@ done if [ $COUNTER -gt 0 ]; then echo -e "\nEnter TTY Number You'd Like:" read tty - ttyselect=$devarr[$tty+1] + ttyselect=$devarr[$tty] else echo -e "\nNo Serial Devices Found, Select one later with 'changeport'\n" fi