From f33e57fb6cc153b852a3db383a90a0759fe3cd9e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 25 Feb 2018 09:04:47 -0500 Subject: [PATCH] le-renew: fix display of revoke cmd --- .bin/le-renew | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bin/le-renew b/.bin/le-renew index cc008aa..e7d4ec0 100755 --- a/.bin/le-renew +++ b/.bin/le-renew @@ -148,10 +148,10 @@ def process_domain(domain, dry_run=False): # Try to revoke the old one. cmd = ['certbot', 'revoke', '--cert-path', cert_path] logging.info('%s: revoking old cert', domain) - logging.info('%s: %s', domain, cmd) + logging.info('%s: %s', domain, ' '.join(cmd)) if not dry_run: try: - subprocess.check_call(cmd) + subprocess.check_call(cmd, stdin=open('/dev/null', 'r')) except subprocess.CalledProcessError: logging.error('failed', exc_info=True) else: -- 2.39.5