mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 10:27:22 +00:00 
			
		
		
		
	minor: fix apachectl error message (#160)
This commit is contained in:
		
							parent
							
								
									641989fdee
								
							
						
					
					
						commit
						80a0a7b5c5
					
				
							
								
								
									
										5
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								acme.sh
									
									
									
									
									
								
							| @ -871,6 +871,11 @@ _initpath() { | ||||
| 
 | ||||
| 
 | ||||
| _apachePath() { | ||||
|   if ! _exists apachectl ; then | ||||
|     _err "'apachecrl not found. It seems that apache is not installed, or you are not root user.'" | ||||
|     _err "Please use webroot mode to try again." | ||||
|     return 1 | ||||
|   fi | ||||
|   httpdconfname="$(apachectl -V | grep SERVER_CONFIG_FILE= | cut -d = -f 2 | tr -d '"' )" | ||||
|   if _startswith "$httpdconfname" '/' ; then | ||||
|     httpdconf="$httpdconfname" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user