mirror of
https://github.com/certbot/certbot.git
synced 2026-07-25 23:29:26 +02:00
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.
This commit is contained in:
committed by
Jacob Hoffman-Andrews
parent
4a2582dda4
commit
82736e21d4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user