From 82736e21d4966f2c68f2d3dfcd88856580af55bf Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Mon, 6 Mar 2017 17:32:49 -0800 Subject: [PATCH] Improve path_surgery warning (#4293) Stops output like: Failed to find certbot.log in PATH: ... renew-hook command certbot.log exists, but is not executable. --- certbot/plugins/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot/plugins/util.py b/certbot/plugins/util.py index e45c26735..f0e2f4c5b 100644 --- a/certbot/plugins/util.py +++ b/certbot/plugins/util.py @@ -33,6 +33,6 @@ def path_surgery(cmd): return True else: expanded = " expanded" if any(added) else "" - logger.warning("Failed to find %s in%s PATH: %s", cmd, + logger.warning("Failed to find executable %s in%s PATH: %s", cmd, expanded, path) return False