mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-10 17:12:07 +08:00
Remove config logging when checking
Because it causes a mysterious crash and it's honestly not worth it.
This commit is contained in:
@@ -154,21 +154,18 @@ _check_deployfile() {
|
|||||||
_err "Service '$_service' not found."
|
_err "Service '$_service' not found."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_secure_debug3 "check: Service '$_service' configuration" "$_service_config"
|
|
||||||
|
|
||||||
_service_hook=$(echo "$_service_config" | yq e ".hook" -)
|
_service_hook=$(echo "$_service_config" | yq e ".hook" -)
|
||||||
if [ -z "$_service_hook" ] || [ "$_service_hook" = "null" ]; then
|
if [ -z "$_service_hook" ] || [ "$_service_hook" = "null" ]; then
|
||||||
_err "Service '$_service' does not have a hook."
|
_err "Service '$_service' does not have a hook."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_debug3 "check: Service '$_service' hook" "$_service_hook"
|
|
||||||
|
|
||||||
_service_environment=$(echo "$_service_config" | yq e ".environment" -)
|
_service_environment=$(echo "$_service_config" | yq e ".environment" -)
|
||||||
if [ -z "$_service_environment" ] || [ "$_service_environment" = "null" ]; then
|
if [ -z "$_service_environment" ] || [ "$_service_environment" = "null" ]; then
|
||||||
_err "Service '$_service' does not have an environment."
|
_err "Service '$_service' does not have an environment."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_secure_debug3 "check: Service '$_service' environment" "$_service_environment"
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user