summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <daniel@mariadb.org>2021-06-03 18:08:49 +1000
committerAnel Husakovic <anel@mariadb.org>2021-07-06 11:08:57 +0200
commite176648efd5607094addd3cc6f9b29f9564f70e3 (patch)
tree7369c064e0eeb342a70353793f7a629e140c9850
parent5f6883d205125f152cb05bf104676cac2c128e81 (diff)
downloadmariadb-git-e176648efd5607094addd3cc6f9b29f9564f70e3.tar.gz
fix
-rw-r--r--scripts/mysql_secure_installation.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysql_secure_installation.sh b/scripts/mysql_secure_installation.sh
index 644c9fbc6e8..a2ae5307733 100644
--- a/scripts/mysql_secure_installation.sh
+++ b/scripts/mysql_secure_installation.sh
@@ -354,13 +354,13 @@ set_user_password() {
esc_pass=$(basic_single_escape "$password1")
do_query "SET PASSWORD = PASSWORD('$esc_pass')"
- make_config
if [ $? -eq 0 ]; then
echo "Password updated successfully!"
else
echo "Password update failed!"
clean_and_exit
fi
+ make_config
return 0
}