From fa9a69197a0c12f14e009427b9eb97dfcb8365e4 Mon Sep 17 00:00:00 2001 From: Yannic Haupenthal Date: Mon, 27 Jan 2020 10:11:08 +0100 Subject: [PATCH] fix #368 --- getssl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getssl b/getssl index 763677f..b6e74a5 100755 --- a/getssl +++ b/getssl @@ -2186,7 +2186,7 @@ if [[ $API -eq 2 ]]; then for d in $alldomains; do dstring="${dstring}{\"type\":\"dns\",\"value\":\"$d\"}," done - dstring="${dstring::${#dstring}-1}]" + dstring="${dstring%?}]" # request NewOrder currently seems to ignore the dates .... # dstring="${dstring},\"notBefore\": \"$(date -d "-1 hour" --utc +%FT%TZ)\"" # dstring="${dstring},\"notAfter\": \"$(date -d "2 days" --utc +%FT%TZ)\""