mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 16:13:23 +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
|
return True
|
||||||
else:
|
else:
|
||||||
expanded = " expanded" if any(added) 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)
|
expanded, path)
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user