From e1a68a8c275ccf10b71161b58e0fc8966630218c Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Sat, 20 May 2023 19:52:29 +0200 Subject: [PATCH] bash again --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 995b7a7..0198bfb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -60,7 +60,7 @@ else fi # Retrieve the password from the .env file -if [ -z "$password" ]; then +if [ -z "${password:-}" ]; then password=$(ynh_read_var_in_file --file="$install_dir/.env" --key="MINIO_ROOT_PASSWORD") fi