From c1b47dd248fe9fa2b7df8176d953ea739a62ead6 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 26 Jul 2018 10:09:02 -0400 Subject: [PATCH] fix: use correct path for lockfile --- plugins/common/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/common/functions b/plugins/common/functions index ebeeab7f4..75694ac82 100755 --- a/plugins/common/functions +++ b/plugins/common/functions @@ -964,7 +964,7 @@ acquire_advisory_lock() { local LOCK_FD="200" local SHOW_MSG=true - eval "exec $LOCK_FD>$APP_DEPLOY_LOCK_FILE" + eval "exec $LOCK_FD>$LOCK_FILE" if [[ "$LOCK_TYPE" == "waiting" ]]; then while [[ $(flock -n "$LOCK_FD" &>/dev/null ; echo $?) -ne 0 ]]; do if [[ "$SHOW_MSG" == "true" ]]; then