index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-02-14 11:25:25 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-14 11:25:25 +0100 |
commit | f822d014afa5a48a0335bd5babd97ecf137d9e76 (patch) | |
tree | 7dca3527c6aaa96123d43c2c102222764e7f6875 /bin/build-master-status-from-mysql | |
parent | aa008f2bf3b5016ed8eaa3946f7e3cee9f739ce9 (diff) |
-rwxr-xr-x | bin/build-master-status-from-mysql | 4 |
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 |