From 80982b9c68f078c9c2bc4362568e050e20955408 Mon Sep 17 00:00:00 2001 From: casperklein Date: Tue, 18 Jun 2024 20:31:59 +0200 Subject: [PATCH] rename variable --- target/scripts/helpers/database/manage/postfix-accounts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/scripts/helpers/database/manage/postfix-accounts.sh b/target/scripts/helpers/database/manage/postfix-accounts.sh index 24827b19..3cb369dc 100644 --- a/target/scripts/helpers/database/manage/postfix-accounts.sh +++ b/target/scripts/helpers/database/manage/postfix-accounts.sh @@ -98,7 +98,7 @@ function __account_already_exists() { # Also used by addsaslpassword function _password_request_if_missing() { - local CONFIRM + local PASSWD_CONFIRM if [[ -z ${PASSWD} ]]; then read -r -s -p 'Enter Password: ' PASSWD echo @@ -106,6 +106,6 @@ function _password_request_if_missing() { read -r -s -p 'Confirm Password: ' CONFIRM echo - [[ ${PASSWD} != "${CONFIRM}" ]] && _exit_with_error 'Passwords do not match!' + [[ ${PASSWD} != "${PASSWD_CONFIRM}" ]] && _exit_with_error 'Passwords do not match!' fi }