From c18d7f2bf0dcfe625f33f463a673ecb953eb61cd Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Tue, 12 Apr 2022 20:50:55 +0100 Subject: [PATCH] Improve informational output: 'init-pki' completed Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index e81cf06..dabd4cc 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -331,6 +331,7 @@ Type the word '$value' to continue, or any other input to abort." printf %s " $prompt" #shellcheck disable=SC2162 read input + printf '\n' [ "$input" = "$value" ] && return notice "Aborting without confirmation." exit 9 @@ -591,13 +592,14 @@ and initialize a fresh PKI here." die "init-pki failed to create safe SSL conf: $EASYRSA_SAFE_CONF" fi - notice "\ -init-pki complete; you may now create a CA or requests. -Your newly created PKI dir is: -* $EASYRSA_PKI" + notice " - notice "* Easy-RSA 'vars' file has now been moved to your PKI above." - return 0 + init-pki complete; you may now create a CA or requests. + + Your newly created PKI dir is: + * $EASYRSA_PKI + + IMPORTANT: Easy-RSA 'vars' file has now been moved to your PKI above." } # => init_pki() # Copy data-files from various sources