From 2d0260303afb914aee54b1650115345fe148b573 Mon Sep 17 00:00:00 2001 From: wulabing Date: Sat, 22 Feb 2020 21:13:25 +0800 Subject: [PATCH] =?UTF-8?q?1.1.1=20=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=AF=81=E4=B9=A6=E7=BC=BA=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index f4cf393..6eda628 100644 --- a/install.sh +++ b/install.sh @@ -470,11 +470,13 @@ acme(){ $HOME/.acme.sh/acme.sh --issue -d ${domain} --standalone -k ec-256 --force --test if [[ $? -eq 0 ]];then echo -e "${OK} ${GreenBG} SSL 证书测试签发成功,开始正式签发 ${Font}" - rm -rf "$HOME/.acme.sh/${domain}_ecc/${domain}.key" && rm -rf "$HOME/.acme.sh/${domain}_ecc/${domain}.cer" + rm -rf "$HOME/.acme.sh/${domain}_ecc/${domain}.key" + rm -rf "$HOME/.acme.sh/${domain}_ecc/${domain}.cer" sleep 2 else echo -e "${Error} ${RedBG} SSL 证书测试签发失败 ${Font}" - rm -rf "$HOME/.acme.sh/${domain}_ecc/${domain}.key" && rm -rf "$HOME/.acme.sh/${domain}_ecc/${domain}.cer" + rm -rf "$HOME/.acme.sh/${domain}_ecc/${domain}.key" + rm -rf "$HOME/.acme.sh/${domain}_ecc/${domain}.cer" exit 1 fi