Honor renew option when adding a site #55
|
@ -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';
|
||||||
|
|
Loading…
Reference in New Issue