Honor renew option when adding a site #55

Open
Ghost wants to merge 1 commits from (deleted):julienp/disable-renew-on-add into master
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';