From 0be03e8056755deaaf1492fa1df38907eade690e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 25 May 2018 09:07:39 +0200 Subject: verbose_flock new: it calls flock and reports about blocking processes on error --- bin/build-master-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/build-master-status') diff --git a/bin/build-master-status b/bin/build-master-status index c0d9cb1..d1382c7 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -12,7 +12,7 @@ trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT # do not block if locked exec 9> "${sanity_check_lock_file}" -if ! flock -n 9; then +if ! verbose_flock -n 9; then >&2 echo 'Mysql-Sanity check skipped, cannot acquire lock.' exit fi -- cgit v1.2.3