db_pwd shouldn't be local

This commit is contained in:
Maniack Crudelis 2019-01-04 19:30:07 +01:00
parent 540291a7e0
commit bf443f2ec0

View file

@ -175,7 +175,7 @@ ynh_mysql_setup_db () {
declare -Ar args_array=( [u]=db_user= [n]=db_name= [p]=db_pwd= )
local db_user
local db_name
local db_pwd
db_pwd=""
# Manage arguments with getopts
ynh_handle_getopts_args "$@"