From a0a2fe3ada7a386f604100157c0479f5be817cfc Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 10 Jan 2016 13:11:02 +0800 Subject: [PATCH] clearup on success --- le.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/le.sh b/le.sh index 4c76aeb..8a1edd9 100755 --- a/le.sh +++ b/le.sh @@ -566,7 +566,7 @@ issue() { done _stopserver $serverproc done - + _clearup _info "Verify finished, start to sign." der="$(openssl req -in $CSR_PATH -outform DER | base64 -w 0 | _b64)" _send_signed_request "$API/acme/new-cert" "{\"resource\": \"new-cert\", \"csr\": \"$der\"}" "needbase64" @@ -590,7 +590,6 @@ issue() { if [ -z "$Le_LinkCert" ] ; then response="$(echo $response | base64 -d)" _err "Sign failed: $(echo "$response" | grep -o '"detail":"[^"]*"')" - _clearup return 1 fi