generate-DH-parameters.sh: Fix error creating log-directory.
This commit is contained in:
parent
748e47b70b
commit
dce2603bad
@ -3,6 +3,7 @@
|
||||
script_name="$(basename $(realpath $0))"
|
||||
working_dir="$(dirname $(realpath $0))"
|
||||
|
||||
LOCK_DIR="$(mktemp -d)"
|
||||
log_file="${LOCK_DIR}/${script_name%%.*}.log"
|
||||
|
||||
backup_date="$(date +%Y-%m-%d-%H%M)"
|
||||
@ -157,10 +158,6 @@ get_openssl_version() {
|
||||
# -
|
||||
trap clean_up SIGHUP SIGINT SIGTERM
|
||||
|
||||
# - Create lock directory '$LOCK_DIR"
|
||||
#
|
||||
mkdir "$LOCK_DIR"
|
||||
|
||||
# Detect OpenSSL version
|
||||
#
|
||||
get_openssl_version
|
||||
|
Loading…
Reference in New Issue
Block a user