fix(lego): quoting issues leading to wrongful error

This commit is contained in:
transcaffeine 2025-04-07 16:27:03 +02:00
parent 11d4b397ef
commit 877c5a137a
Signed by: transcaffeine
GPG Key ID: 03624C433676E465

View File

@ -4,7 +4,7 @@ set -euo pipefail
LEGO_BINARY=$(/usr/bin/env which lego)
if [[ -n "${LEGO_HTTP_FALLBACK_PORT:-}" ]]; then
if ! nc_binary="$(type -p \"nc\")" || [[ -z $nc_binary ]]; then
if ! nc_binary="$(type -p 'nc')" || [[ -z $nc_binary ]]; then
echo "nc not found (in PATH), exiting"
exit 1
fi