mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
stdin may better define interactivity than stdout
This commit is contained in:
parent
0cae499738
commit
97c89969af
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue