Escape printf string

This commit is contained in:
Matteo Bini 2022-09-29 16:08:38 +02:00
parent 1b432f69eb
commit d4515f34a7
1 changed files with 1 additions and 1 deletions

View File

@ -4,5 +4,5 @@ set -e
apt-get -y install apg mariadb-server
db_root_pw="$(apg -a 1 -m 24 -x 64 -M clns -n 1)"
printf "\nProposed mariadb root password:\n${db_root_pw}\n"
printf '\n%s\n%s\n' 'Proposed mariadb root password:' "${db_root_pw}"
mysql_secure_installation