修复脚本执行错误

This commit is contained in:
远野千束 2024-10-05 21:50:12 +08:00
parent 67475ef499
commit 5834abcd33

View File

@ -10,7 +10,7 @@ fi
install_dir="/opt" install_dir="/opt"
echo -n "Install directory? (default: $install_dir/server-status-client): " && read -r install_dir_input echo -n "Install directory? (default: $install_dir/server-status-client): " && read -r install_dir_input
if [ -n "$install_dir_input" ]; then if [ -n "$install_dir_input" ]; then
install_dir="$install_dir_input"; install_dir="$install_dir_input"
fi fi
# check server # check server