mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 10:27:22 +00:00 
			
		
		
		
	fix cpanel_uapi.sh
This commit is contained in:
		
							parent
							
								
									48e9006cd1
								
							
						
					
					
						commit
						a2d6daaef4
					
				| @ -44,7 +44,7 @@ cpanel_uapi_deploy() { | |||||||
|   if [ "$(id -u)" = 0 ]; then |   if [ "$(id -u)" = 0 ]; then | ||||||
|     if [ -z "$DEPLOY_CPANEL_USER" ]; then |     if [ -z "$DEPLOY_CPANEL_USER" ]; then | ||||||
|       _err "It seems that you are root, please define the target user name: export DEPLOY_CPANEL_USER=username" |       _err "It seems that you are root, please define the target user name: export DEPLOY_CPANEL_USER=username" | ||||||
|       return 1; |       return 1 | ||||||
|     fi |     fi | ||||||
|     _savedomainconf DEPLOY_CPANEL_USER "$DEPLOY_CPANEL_USER" |     _savedomainconf DEPLOY_CPANEL_USER "$DEPLOY_CPANEL_USER" | ||||||
|     _response=$(uapi --user="$DEPLOY_CPANEL_USER" SSL install_ssl domain="$_cdomain" cert="$_cert" key="$_key") |     _response=$(uapi --user="$DEPLOY_CPANEL_USER" SSL install_ssl domain="$_cdomain" cert="$_cert" key="$_key") | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user