Skip to content

Commit

Permalink
Command 'easyrsa --verbose': Reformat output
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Mar 26, 2024
1 parent 0c35605 commit 0569d45
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,18 @@ DIRECTORY STATUS (commands would take effect on these locations)
EASYRSA: $work_dir
PKI: $pki_dir
vars-file: ${EASYRSA_VARS_FILE:-Missing or undefined}${ivmsg}
x509-types: ${EASYRSA_EXT_DIR:-Missing or undefined}
$CA_status${NL}"

# verbose info
verbose "ssl-cnf: ${EASYRSA_SSL_CONF:-built-in}"
verbose "x509-types: ${EASYRSA_EXT_DIR:-built-in}"
if [ -d "$EASYRSA_TEMP_DIR" ]; then
verbose "temp-dir: Found: $EASYRSA_TEMP_DIR"
elif [ "$EASYRSA_TEMP_DIR" ]; then
verbose "temp-dir: Missing: $EASYRSA_TEMP_DIR"
else
verbose "temp-dir: undefined"
fi
} # => usage()

# Detailed command help
Expand Down

0 comments on commit 0569d45

Please sign in to comment.