mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	ignore the installcert error for 'issue'
This commit is contained in:
		
							parent
							
								
									4d2f38b03a
								
							
						
					
					
						commit
						ca2a96b3f3
					
				
							
								
								
									
										7
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								acme.sh
									
									
									
									
									
								
							| @ -1474,7 +1474,10 @@ issue() { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|   installcert $Le_Domain  "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" |   installcert $Le_Domain  "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" | ||||||
| 
 |   if [ "$?" = "9" ] ; then | ||||||
|  |     #ignore the empty install error. | ||||||
|  |     return 0 | ||||||
|  |   fi | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| renew() { | renew() { | ||||||
| @ -1609,7 +1612,7 @@ installcert() { | |||||||
| 
 | 
 | ||||||
|   if [ "$_installed" = "0" ] ; then |   if [ "$_installed" = "0" ] ; then | ||||||
|     _err "Nothing to install. You don't specify any parameter." |     _err "Nothing to install. You don't specify any parameter." | ||||||
|     return 1 |     return 9 | ||||||
|   fi |   fi | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user