mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
fix format
This commit is contained in:
parent
c8929ca0cb
commit
f90cbb636a
@ -186,8 +186,8 @@ _ssh_deploy() {
|
||||
_local_full_file=""
|
||||
|
||||
case $DEPLOY_SSH_SERVER in
|
||||
(*:*) _host=${DEPLOY_SSH_SERVER%:*} _port=${DEPLOY_SSH_SERVER##*:};;
|
||||
(*) _host=$DEPLOY_SSH_SERVER _port=;;
|
||||
*:*) _host=${DEPLOY_SSH_SERVER%:*} _port=${DEPLOY_SSH_SERVER##*:};;
|
||||
*) _host=$DEPLOY_SSH_SERVER _port=;;
|
||||
esac
|
||||
|
||||
_info "Deploy certificates to remote server $DEPLOY_SSH_USER@$_host:$_port"
|
||||
|
Loading…
Reference in New Issue
Block a user