vars_setup(): For EASYRSA_NO_VARS set found_vars to zero

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2023-07-04 02:14:08 +01:00
parent 7ec58cd64c
commit 9f752bde7a
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -5472,6 +5472,8 @@ vars_setup() {
# Find vars
# Explicit user defined vars file:
if [ "$EASYRSA_NO_VARS" ]; then
# Found exactly zero vars files
found_vars=0
warn "\
EASYRSA_NO_VARS is enabled, not using a 'vars' file.${NL}"