From 407711a885f237ba5e04081295a0499e60b79ccf Mon Sep 17 00:00:00 2001 From: rajcz Date: Fri, 3 Jun 2016 16:59:06 +0200 Subject: [PATCH] Update acme.sh --- acme.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index ebdd6edb..21070cc0 100755 --- a/acme.sh +++ b/acme.sh @@ -1131,6 +1131,7 @@ issue() { _savedomainconf "Le_Domain" "$Le_Domain" _savedomainconf "Le_Alt" "$Le_Alt" _savedomainconf "Le_Webroot" "$Le_Webroot" + _savedomainconf "dnssleep" "$dnssleep" _savedomainconf "Le_Keylength" "$Le_Keylength" if [ "$Le_Alt" = "no" ] ; then @@ -2361,7 +2362,12 @@ _process() { fi ;; --dnssleep - dnssleep="$2" + re='^[0-9]+$' + if ! [[ $2 =~ $re ]] ; then + dnssleep="60" + else + dnssleep="$2" + fi shift ;; --keylength|-k)