极简安装demo database输入yes报错问题修复

This commit is contained in:
KeKe
2024-08-29 20:41:25 +08:00
parent d606da7437
commit 77d885f4af

View File

@ -363,11 +363,11 @@ function fn_install_demoDB()
then
read -p "Would you like to create a demo database (yes/no)? " input
fi
if [ $input == "yes" ]
if [ "$input"X == "yes"X ]
then
fn_load_demoDB 1>load.log 2>&1
fn_check_demoDB
elif [ $input == "no" ]
elif [ "$input"X == "no"X ]
then
return 2
else