From 6afc1d79219c325b356e6c15ac7c37b4ed8899c7 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sun, 30 Nov 2025 05:58:08 -0700 Subject: [PATCH] workan on da changeport --- custom_bin/changeport.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/custom_bin/changeport.sh b/custom_bin/changeport.sh index 28b213a..0ea21e1 100644 --- a/custom_bin/changeport.sh +++ b/custom_bin/changeport.sh @@ -19,14 +19,13 @@ function subprocess() { fi sel=$tty+1 - ret="${devarr[$sel]}" - return 0 + ret="${devarr[$sel]}" # set dat ret global var here } if [ ! -z "$1" ]; then ret="$1" else - ret="" + ret="" # make this a global so it can be updootewd from inside function subprocess fi