mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
stdin may better define interactivity than stdout
This commit is contained in:
+1
-1
@@ -1275,7 +1275,7 @@ def renew(config, unused_plugins):
|
||||
:rtype: None
|
||||
|
||||
"""
|
||||
if not sys.stdout.isatty():
|
||||
if not sys.stdin.isatty():
|
||||
# Noninteractive renewals include a random delay in order to spread
|
||||
# out the load on the certificate authority servers, even if many
|
||||
# users all pick the same time for renewals. This delay precedes
|
||||
|
||||
Reference in New Issue
Block a user