mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-05-05 22:53:23 +02:00
fixed "sed: invalid option -- 'E'"
This commit is contained in:
committed by
Lukas Schauer
parent
a6e6aa7445
commit
a6a07779ad
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user