diff options
author | Erich Eckner <git@eckner.net> | 2018-06-05 10:21:47 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-05 10:21:47 +0200 |
commit | 86d99879fbfd00d79c9218f00551115cf0373eae (patch) | |
tree | b6cd85c3a97bf532668835bbf3011b15edb8399a /bin/ping-from-slave | |
parent | 3ef094b82a8ab76804c5a7553ccf1b65291e0d35 (diff) | |
download | builder-86d99879fbfd00d79c9218f00551115cf0373eae.tar.xz |
bin/ping-from-slave: join -> where not null
Diffstat (limited to 'bin/ping-from-slave')
-rwxr-xr-x | bin/ping-from-slave | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ping-from-slave b/bin/ping-from-slave index c70c1d7..e5a67c3 100755 --- a/bin/ping-from-slave +++ b/bin/ping-from-slave @@ -14,9 +14,9 @@ if [ "$( # shellcheck disable=SC2016,SC2154 { printf 'SELECT COUNT(1) FROM `build_slaves`' - mysql_join_build_slaves_build_assignments - printf ' WHERE `build_slaves`.`name`=from_base64("%s");\n' \ + printf ' WHERE `build_slaves`.`name`=from_base64("%s")' \ "$(printf '%s' "${slave}" | base64 -w0)" + printf ' AND `build_slaves`.`currently_building` IS NOT NULL;\n' } | \ mysql_run_query 'unimportant' || \ echo '1' |