summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/build-master-status-from-mysql4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql
index cd85156..7a6605a 100755
--- a/bin/build-master-status-from-mysql
+++ b/bin/build-master-status-from-mysql
@@ -11,8 +11,8 @@ tmp_dir=$(mktemp -d 'tmp.build-master-status-from-mysql.XXXXXXXXXX' --tmpdir)
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
# always block if locked
-exec 9> "${build_list_lock_file}"
-if ! flock -n -s 9; then
+exec 9> "${sanity_check_lock_file}"
+if ! flock -n 9; then
>&2 echo 'Mysql-Sanity check skipped, cannot acquire lock.'
exit
fi