diff --git a/install_pve6.sh b/install_pve6.sh
index dca7a83..302167d 100644
--- a/install_pve6.sh
+++ b/install_pve6.sh
@@ -58,7 +58,7 @@ apt -y install proxmox-ve postfix open-iscsi
 url="https://${ip}:8006/"
 echo "安装完毕,请打开HTTPS网页 {$url}"
 echo "用户名、密码就是服务器所使用的用户名、密码"
-if curl --output /dev/null --silent --insecure --head --fail "$url"; then
+if curl -L --output /dev/null --silent --insecure --head --fail "$url"; then
   echo "安装成功"
 else
   echo "安装失败"