pcs_online.sh: fix minor wrror in creating temp directory.
This commit is contained in:
parent
73c91e9ea8
commit
5b582a6f4c
@ -4,6 +4,7 @@ script_name="$(basename $(realpath $0))"
|
||||
working_dir="$(dirname $(realpath $0))"
|
||||
|
||||
conf_file="${working_dir}/conf/${script_name%%.*}.conf"
|
||||
LOCK_DIR="$(mktemp -d)"
|
||||
|
||||
|
||||
# ----------
|
||||
@ -158,10 +159,6 @@ containsElement () {
|
||||
# -
|
||||
trap clean_up SIGHUP SIGINT SIGTERM
|
||||
|
||||
# - Create lock directory '$LOCK_DIR"
|
||||
#
|
||||
mkdir "$LOCK_DIR"
|
||||
|
||||
|
||||
# ----------
|
||||
# - Some checks ..
|
||||
|
Loading…
Reference in New Issue
Block a user