From 877c5a137a5fbfa51d7db0e049ccb84820cc0e6d Mon Sep 17 00:00:00 2001 From: transcaffeine Date: Mon, 7 Apr 2025 16:27:03 +0200 Subject: [PATCH] fix(lego): quoting issues leading to wrongful error --- roles/lego/files/lego_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/lego/files/lego_run.sh b/roles/lego/files/lego_run.sh index 2bbb81f..63be0e8 100644 --- a/roles/lego/files/lego_run.sh +++ b/roles/lego/files/lego_run.sh @@ -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