From c618ac10d2e602b1b22480e7c782a3c120eafb83 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 7 Feb 2018 15:50:47 -0500 Subject: [PATCH] fixed variable name confusion --- scripts/site_avenger/revamp_cakelampvm.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index 773e5a89..f8c2ebe2 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -27,10 +27,11 @@ source "$FEISTY_MEOW_SCRIPTS/security/password_functions.sh" echo A load_password /etc/mysql/secret_password mysql_passwd echo B -if [ -z "$mysql_password" ]; then +if [ -z "$mysql_passwd" ]; then echo C - read_password "Please enter the MySQL root account password:" mysql_password + read_password "Please enter the MySQL root account password:" mysql_passwd echo D +echo password was found as: $mysql_passwd # echo -n "Please enter the MySQL root account password: " # # turn off echo but remember former setting. # stty_orig=`stty -g` @@ -45,7 +46,7 @@ echo E exit 1 else echo F - store_password /etc/mysql/secret_password "$mysql_password" + store_password /etc/mysql/secret_password "$mysql_passwd" fi ############## -- 2.34.1