summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWouter Tinus <win.acme.simple@gmail.com>2020-02-13 22:11:12 +0100
committerWouter Tinus <win.acme.simple@gmail.com>2020-02-13 22:11:12 +0100
commit8c6758681fafc24f95ea8b327dd8910eac9a31bb (patch)
treea5b3f4f7bd410f22622cc8f9041d6d0facc18a12 /src
parente75ef011b5e082ca9048fb8c942fde73b2903cc7 (diff)
downloadletsencrypt-win-simple-8c6758681fafc24f95ea8b327dd8910eac9a31bb.zip
letsencrypt-win-simple-8c6758681fafc24f95ea8b327dd8910eac9a31bb.tar.gz
letsencrypt-win-simple-8c6758681fafc24f95ea8b327dd8910eac9a31bb.tar.bz2
Allow renewals to run when none are due, to detect target changes
Diffstat (limited to 'src')
-rw-r--r--src/main.lib/Wacs.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.lib/Wacs.cs b/src/main.lib/Wacs.cs
index 6c5efee..ce364ac 100644
--- a/src/main.lib/Wacs.cs
+++ b/src/main.lib/Wacs.cs
@@ -251,9 +251,7 @@ namespace PKISharp.WACS.Host
Choice.Create<Func<Task>>(
() => _renewalManager.CheckRenewals(RunLevel.Interactive),
$"Run scheduled renewals ({due} currently due)", "R",
- color: due == 0 ? (ConsoleColor?)null : ConsoleColor.Yellow,
- disabled: due == 0,
- disabledReason: "No renewals are currently due"),
+ color: due == 0 ? (ConsoleColor?)null : ConsoleColor.Yellow),
Choice.Create<Func<Task>>(
() => _renewalManager.ManageRenewals(),
$"Manage renewals ({total} total{(error == 0 ? "" : $", {error} in error")})", "A",