From 348cddd7628c7433f3255c30dbb8f0a246f0a138 Mon Sep 17 00:00:00 2001 From: neil Date: Thu, 10 Mar 2016 23:43:03 +0800 Subject: [PATCH] fix compatible to alpine linux --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/le.sh b/le.sh index 71ed1677..619f658f 100755 --- a/le.sh +++ b/le.sh @@ -696,7 +696,7 @@ issue() { return 1 fi - entry="$(printf $response | egrep -o '{[^{]*"type":"'$vtype'"[^}]*')" + entry="$(printf $response | egrep -o '\{[^{]*"type":"'$vtype'"[^}]*')" _debug entry "$entry" token="$(printf "$entry" | egrep -o '"token":"[^"]*' | cut -d : -f 2 | tr -d '"')"