2
0
mirror of https://github.com/acmesh-official/acme.sh synced 2025-09-01 14:55:26 +00:00

fix format

This commit is contained in:
PM Extra
2022-05-14 22:41:59 +08:00
parent c8929ca0cb
commit f90cbb636a
2 changed files with 11 additions and 11 deletions

View File

@@ -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"