Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-06-19 13:16:35 +0200
committerErich Eckner <git@eckner.net>2019-06-19 13:16:35 +0200
commite6651a0ae649c73c88f4bb116a3a35442d45bfbc (patch)
tree9ca04f726428459de3d6e13d3edf273f8000cef9
parent75413ba57ce8a5be9046438e194371d8c0490b16 (diff)
buildmaster/build-slaves.php: ignore disabled build slaves
-rw-r--r--buildmaster/build-slaves.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildmaster/build-slaves.php b/buildmaster/build-slaves.php
index c0293df..7a8a9f2 100644
--- a/buildmaster/build-slaves.php
+++ b/buildmaster/build-slaves.php
@@ -129,6 +129,7 @@ $result = mysql_run_query(
" GROUP BY `ssh_log`.`build_slave`" .
") AS `sl_q`" .
" ON `sl_q`.`build_slave`=`build_slaves`.`id`" .
+ " WHERE `build_slaves`.`access_allowed`" .
") AS `sub_query`" .
" ORDER BY " . $order . "`sub_query`.`name`"
);