workan on da changeport
This commit is contained in:
@@ -19,14 +19,13 @@ function subprocess() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sel=$tty+1
|
sel=$tty+1
|
||||||
ret="${devarr[$sel]}"
|
ret="${devarr[$sel]}" # set dat ret global var here
|
||||||
return 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -z "$1" ]; then
|
if [ ! -z "$1" ]; then
|
||||||
ret="$1"
|
ret="$1"
|
||||||
else
|
else
|
||||||
ret=""
|
ret="" # make this a global so it can be updootewd from inside function
|
||||||
subprocess
|
subprocess
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user