stdin may better define interactivity than stdout

This commit is contained in:
Seth Schoen 2018-09-24 19:38:29 -07:00
parent 0cae499738
commit 97c89969af

View file

@ -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