修复用户bug

This commit is contained in:
lsy 2024-09-24 18:11:16 +08:00
parent a4f8d8dfb0
commit fb8446eb3f

View File

@ -40,7 +40,8 @@ case $pick in
fi
type=${print_arr[$pick]}
if [ ! -z ${type_dick[$type]} ]; then
if [ ! -z "${type_dick[$type]}" ]; then
print_number=0
echo "请选择密钥位大小"
for i in ${type_dick[$type]} ; do
print_number=$(( print_number+1 ))