From 97c89969af79fcac8214920bd983ca72c1681ed6 Mon Sep 17 00:00:00 2001 From: Seth Schoen Date: Mon, 24 Sep 2018 19:38:29 -0700 Subject: [PATCH] stdin may better define interactivity than stdout --- certbot/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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