Honor renew option when adding a site
This commit is contained in:
		
							parent
							
								
									f01286d5b1
								
							
						
					
					
						commit
						8f69053020
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user