summaryrefslogtreecommitdiff
path: root/buildmaster
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 /buildmaster
parent75413ba57ce8a5be9046438e194371d8c0490b16 (diff)
downloadarchweb32-e6651a0ae649c73c88f4bb116a3a35442d45bfbc.tar.xz
buildmaster/build-slaves.php: ignore disabled build slaves
Diffstat (limited to 'buildmaster')
-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`"
);