pcs_online.sh: fix minor wrror in creating temp directory.

This commit is contained in:
Christoph 2018-08-19 16:19:37 +02:00
parent 73c91e9ea8
commit 5b582a6f4c

View File

@ -4,6 +4,7 @@ script_name="$(basename $(realpath $0))"
working_dir="$(dirname $(realpath $0))" working_dir="$(dirname $(realpath $0))"
conf_file="${working_dir}/conf/${script_name%%.*}.conf" conf_file="${working_dir}/conf/${script_name%%.*}.conf"
LOCK_DIR="$(mktemp -d)"
# ---------- # ----------
@ -158,10 +159,6 @@ containsElement () {
# - # -
trap clean_up SIGHUP SIGINT SIGTERM trap clean_up SIGHUP SIGINT SIGTERM
# - Create lock directory '$LOCK_DIR"
#
mkdir "$LOCK_DIR"
# ---------- # ----------
# - Some checks .. # - Some checks ..