]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
fixed "sed: invalid option -- 'E'"
authorEwald Dieterich <ewald.dieterich@gmx.de>
Thu, 22 Feb 2018 10:08:12 +0000 (11:08 +0100)
committerLukas Schauer <lukas@schauer.so>
Thu, 22 Feb 2018 18:28:36 +0000 (19:28 +0100)
dehydrated

index 3b2b78e6b0187c7da26b2bc50b209bf9222a1fe3..b9d72f01a882c36293a1657d373ffcb938b0c4a7 100755 (executable)
@@ -713,7 +713,7 @@ sign_csr() {
     fi
 
     # Check if authorization has already been validated
-    if [ "$(echo "${response}" | sed -E 's/"challenges": \[\{.*\}\]//' | get_json_string_value status)" = "valid" ] && [ ! "${PARAM_FORCE:-no}" = "yes" ]; then
+    if [ "$(echo "${response}" | _sed 's/"challenges": \[\{.*\}\]//' | get_json_string_value status)" = "valid" ] && [ ! "${PARAM_FORCE:-no}" = "yes" ]; then
       echo " + Found valid authorization for ${identifier}"
       continue
     fi