File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -5789,10 +5789,8 @@ change these values.
5789
5789
${unexpected_error}"
5790
5790
} # => validate_default_vars()
5791
5791
5792
- # Verify working environment
5793
- verify_working_env() {
5794
- verbose "verify_working_env: BEGIN"
5795
-
5792
+ # Create PKI lock-file, as necessary
5793
+ request_lock_file() {
5796
5794
# Create lock-file
5797
5795
create_lock_file_error=
5798
5796
if [ -d "${EASYRSA_PKI}" ]; then
@@ -5838,6 +5836,14 @@ lock-file removed - Please try running the easyrsa command again."
5838
5836
else
5839
5837
verbose "verify_working_env: lock-file not required."
5840
5838
fi
5839
+ } # => request_lock_file()
5840
+
5841
+ # Verify working environment
5842
+ verify_working_env() {
5843
+ verbose "verify_working_env: BEGIN"
5844
+
5845
+ # Oppertunist PKI lock-file
5846
+ request_lock_file
5841
5847
5842
5848
# For commands which 'require a PKI' and PKI exists
5843
5849
if [ "$require_pki" ]; then
You can’t perform that action at this time.
0 commit comments