Clear the line

This commit is contained in:
Luke Murphy 2020-04-13 13:53:19 +02:00
parent d6e055822f
commit c21de2b941
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -50,7 +50,7 @@ dokku-ansible-deploy-vault-pass-cmd() {
fi
# shellcheck disable=SC2162 disable=SC2116 disable=SC2006
read -sp "Please enter your vault password for $APP: `echo $'\n> '`" VAULT_PASSWD
read -sp "Please enter your vault password for $APP: `echo $'\n> '`" VAULT_PASSWD; echo
if [[ ! -d "$DOKKU_LIB_ROOT/data/deploy.d/$APP" ]]; then
dokku_col_log_info1_quiet "Creating $DOKKU_LIB_ROOT/data/deploy.d/$APP"
@ -77,7 +77,7 @@ dokku-ansible-deploy-sudo-pass-cmd() {
declare VARS_FILE="$DOKKU_LIB_ROOT/data/deploy.d/vars.yml"
# shellcheck disable=SC2162 disable=SC2116 disable=SC2006
read -sp "Please enter your Dokku system user sudo password: `echo $'\n> '`" SUDO_PASSWD
read -sp "Please enter your Dokku system user sudo password: `echo $'\n> '`" SUDO_PASSWD; echo
{ echo "---";
echo "ansible_become_password: \"$SUDO_PASSWD\""; } > "$VARS_FILE"