Skip to content

Commit

Permalink
easyrsa_mktemp(): Additional help on error and a helpful comment
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Jan 9, 2024
1 parent 6163678 commit bd6ccf9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ easyrsa_mktemp - input error"

# session directory must exist
[ "$secured_session" ] || die "\
easyrsa_mktemp - Temporary session undefined"
easyrsa_mktemp - Temporary session undefined (--tmp-dir)"

# Update counter
mktemp_counter="$(( mktemp_counter + 1 ))"
Expand Down Expand Up @@ -5436,6 +5436,8 @@ ac05f49595e5d5fe96367229e3ce070c"
# File has been changed, leave in place
unset -v file_hash known_hash_file known_hash_heredoc_1
verbose "write_easyrsa_ssl_cnf_tmp: NO CHANGE!"

# Do NOT replace the existing file
return 0
fi
fi
Expand Down

0 comments on commit bd6ccf9

Please sign in to comment.