From 30b3069629707cb543d8bded41af5e9c4c775758 Mon Sep 17 00:00:00 2001 From: MaxymVlasov Date: Thu, 8 Feb 2024 23:34:57 +0200 Subject: [PATCH] fixup flock --- hooks/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/_common.sh b/hooks/_common.sh index 5761a8c06..5685e5737 100644 --- a/hooks/_common.sh +++ b/hooks/_common.sh @@ -366,7 +366,7 @@ function common::terraform_init { fi if [ -n "$TF_PLUGIN_CACHE_DIR" ]; then - flock --unlock 1 #! NOT EXIST IN MAC - https://stackoverflow.com/questions/10526651/mac-os-x-equivalent-of-linux-flock1-command + flock --unlock 0 #! NOT EXIST IN MAC - https://stackoverflow.com/questions/10526651/mac-os-x-equivalent-of-linux-flock1-command echo "$(date "+%s %N") DBG $dir_path: 3. after tf init. flock --unlock" fi