diff options
author | Erich Eckner <git@eckner.net> | 2017-11-13 15:40:06 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-13 15:40:06 +0100 |
commit | d073da7d3aa30cd22940faec3e32de640a43e73d (patch) | |
tree | c82dd33509407a8c733d37c785954c3c926c7b2c /bin/build-master-status | |
parent | 166b987f6922bbba32c5695132967cd74072e6cc (diff) | |
download | builder-d073da7d3aa30cd22940faec3e32de640a43e73d.tar.xz |
exit more often and more silent if build-master-sanity existent
Diffstat (limited to 'bin/build-master-status')
-rwxr-xr-x | bin/build-master-status | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/build-master-status b/bin/build-master-status index 15df41c..719b22b 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -55,6 +55,11 @@ if [ $# -ne 0 ]; then usage fi +if [ -s "${work_dir}/build-master-sanity" ]; then + >&2 echo 'Build master is not sane.' + exit +fi + tmp_dir=$(mktemp -d) trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT |