Skip to content

Commit

Permalink
Use name of the variable instead
Browse files Browse the repository at this point in the history
  • Loading branch information
xZero707 committed May 24, 2024
1 parent 697608d commit 2a9662a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mariadb-bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ create_user() {

if [ -n "${userPasswordEnvValue}" ] && [ "${#userPasswordEnvValue}" -gt "1" ]; then
password="${userPasswordEnvValue}"
printf " Password retrieved from secret environment %s\n" "${userPasswordEnvValue}"
printf " Password retrieved from secret environment %s\n" "${userPasswordEnvVar}"
elif [ -f "${passwordFile}" ] && [ -s "${passwordFile}" ]; then
password=$(<"${passwordFile}")
printf " Password retrieved from %s\n" "${passwordFile}"
Expand Down

0 comments on commit 2a9662a

Please sign in to comment.