more bugfixes 3
This commit is contained in:
@@ -27,13 +27,15 @@ function selectBaud() {
|
||||
6) selection=1500000;;
|
||||
esac
|
||||
|
||||
echo $selection
|
||||
eval "$1=$selection"
|
||||
return 0;
|
||||
}
|
||||
|
||||
if [ ! -z $1 ]; then
|
||||
if [ ! -z "$1" ]; then
|
||||
ret="$1"
|
||||
else
|
||||
ret=$(selectBaud)
|
||||
ret=''
|
||||
subprocess ret
|
||||
fi
|
||||
|
||||
echo "ret: $ret"
|
||||
|
||||
Reference in New Issue
Block a user