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/sanity-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/sanity-check') diff --git a/bin/sanity-check b/bin/sanity-check index 7ae0303..d5b86db 100755 --- a/bin/sanity-check +++ b/bin/sanity-check @@ -75,7 +75,7 @@ do done exec 9> "${sanity_check_lock_file}" -if ! flock ${block_flag} 9; then +if ! verbose_flock ${block_flag} 9; then >&2 echo 'Sanity check skipped, cannot acquire lock.' exit fi -- cgit v1.2.3-54-g00ecf