diff --git a/CHANGELOG.md b/CHANGELOG.md index ddf952a0..60103781 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [Unreleased] + +### Fixed: +- CLI: Fix logic using the --days parameter + ## [0.1.1] - 2015-12-18 ### Added: diff --git a/cli_handlers.go b/cli_handlers.go index 5f424466..04333173 100644 --- a/cli_handlers.go +++ b/cli_handlers.go @@ -197,7 +197,7 @@ func renew(c *cli.Context) { logger().Printf("Could not get Certification expiration for domain %s", domain) } - if int(expTime.Sub(time.Now()).Hours() / 24.0) <= c.Int("days") { + if int(expTime.Sub(time.Now()).Hours() / 24.0) > c.Int("days") { return } }