Skip to content

Commit

Permalink
Wrap more long lines
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
  • Loading branch information
TinCanTech committed Dec 20, 2022
1 parent 8c89e47 commit 0dad732
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -1920,7 +1920,8 @@ Matching file found at: "

# Set commonName
[ "$EASYRSA_REQ_CN" = ChangeMe ] || die "\
Option conflict: '$cmd' does not support setting an external commonName"
Option conflict:
* '$cmd' does not support setting an external commonName"
EASYRSA_REQ_CN="$name"

# create request
Expand All @@ -1931,19 +1932,27 @@ Option conflict: '$cmd' does not support setting an external commonName"
if sign_req "$crt_type" "$name"; then
unset -v error_build_full_cleanup
else
die "Failed to sign '$name' - See error messages above for details."
die "\
Failed to sign '$name' - \
See error messages above for details."
fi

# inline it
if [ "$EASYRSA_INLINE" ]; then
inline_file="$EASYRSA_PKI/$name.creds"
if [ -e "$inline_file" ]; then
warn "Inline file exists not over-writing: $inline_file"
warn "\
Inline file exists not over-writing:
* $inline_file"
else
if inline_creds; then
notice "Inline file created: $inline_file"
notice "\
Inline file created:
* $inline_file"
else
warn "Failed to write inline file: $inline_file"
warn "\
Failed to write inline file:
* $inline_file"
fi
fi
fi
Expand Down

0 comments on commit 0dad732

Please sign in to comment.