pcs_online.sh: fix minor wrror in creating temp directory.
This commit is contained in:
		| @@ -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 .. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user