Honor renew option when adding a site

This commit is contained in:
Julien Poissonnier 2020-12-12 11:42:12 +01:00
parent f01286d5b1
commit 8f69053020
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ module.exports.wrap = function(greenlock, gconf) {
} }
return mega.set(args).then(function(result) { return mega.set(args).then(function(result) {
if (!gconf._bin_mode) { if (!gconf._bin_mod && false !== gconf.renew) {
greenlock.renew({}).catch(function(err) { greenlock.renew({}).catch(function(err) {
if (!err.context) { if (!err.context) {
err.contxt = 'renew'; err.contxt = 'renew';