diff --git a/certbot/main.py b/certbot/main.py index 1350b5102..28df7868d 100644 --- a/certbot/main.py +++ b/certbot/main.py @@ -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