From 889fc327d25436c5a81b029fae1937e15a438a0e Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Mon, 4 Apr 2016 16:34:39 -0700 Subject: [PATCH] Certonly & no action: print a note explaining why no action was taken --- letsencrypt/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/letsencrypt/main.py b/letsencrypt/main.py index ac0ec69e8..0fb56179d 100644 --- a/letsencrypt/main.py +++ b/letsencrypt/main.py @@ -531,6 +531,8 @@ def obtain_cert(config, plugins, lineage=None): installer.restart() notify("new certificate deployed with reload of {0} server; fullchain is {1}".format( config.installer, lineage.fullchain), pause=False) + elif action == "reinstall" and config.verb == "certonly": + notify("Certificate not yet due for renewal; no action taken.") _suggest_donation_if_appropriate(config, action)