From 87022e3681b4de62eac81ad1f5b5552ac24d3bec Mon Sep 17 00:00:00 2001 From: j4n Date: Wed, 11 Feb 2026 12:01:59 +0100 Subject: [PATCH] fix(cmdeploy): check if dns_check_disabled before trying to warn about LE If --skip-dns-check is used and retcode != 0, remote_data is undefined. --- cmdeploy/src/cmdeploy/cmdeploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdeploy/src/cmdeploy/cmdeploy.py b/cmdeploy/src/cmdeploy/cmdeploy.py index aabb42c9..61a9b5f6 100644 --- a/cmdeploy/src/cmdeploy/cmdeploy.py +++ b/cmdeploy/src/cmdeploy/cmdeploy.py @@ -124,7 +124,7 @@ def run_cmd(args, out): out.red("Website deployment failed.") elif retcode == 0: out.green("Deploy completed, call `cmdeploy dns` next.") - elif not remote_data["acme_account_url"]: + elif not args.dns_check_disabled and not remote_data["acme_account_url"]: out.red("Deploy completed but letsencrypt not configured") out.red("Run 'cmdeploy run' again") retcode = 0