From 5b582a6f4cfd3e5be097c3695a37b3f7852f4dee Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 19 Aug 2018 16:19:37 +0200 Subject: [PATCH] pcs_online.sh: fix minor wrror in creating temp directory. --- pcs_online.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pcs_online.sh b/pcs_online.sh index d4178b0..4715b50 100755 --- a/pcs_online.sh +++ b/pcs_online.sh @@ -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 ..