From fb8446eb3f8b7b8da72ab35af3790bd75468f557 Mon Sep 17 00:00:00 2001 From: lsy Date: Tue, 24 Sep 2024 18:11:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/User/key.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Config/User/key.sh b/Config/User/key.sh index ac57d86..f2103ec 100644 --- a/Config/User/key.sh +++ b/Config/User/key.sh @@ -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 ))