mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04: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:
parent
4a2582dda4
commit
82736e21d4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue