summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-25 09:07:39 +0200
committerErich Eckner <git@eckner.net>2018-05-25 09:07:39 +0200
commit0be03e8056755deaaf1492fa1df38907eade690e (patch)
treeef9a485711a1b098c249c1494ffc3029cc8da728 /bin/build-packages
parentad863c02e7b0e7030a920a318fcb9a9963333eb3 (diff)
downloadbuilder-0be03e8056755deaaf1492fa1df38907eade690e.tar.xz
verbose_flock new: it calls flock and reports about blocking processes on error
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages
index c6f912c..3d5d2d1 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -282,7 +282,7 @@ while [ "${count}" -ne 0 ] && \
# we get a lock on "${work_dir}/ping-build-master.lock",
# if we release that lock, ping-to-master should stop _immediately_
exec 9> "${work_dir}/ping-build-master.lock"
- if ! flock -n 9; then
+ if ! verbose_flock -n 9; then
>&2 echo 'ERROR: Cannot lock ping-to-master - this should not happen.'
exit 2
fi