summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rwxr-xr-xbackend/backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/backend.php b/backend/backend.php
index 161b7b2..bb4562c 100755
--- a/backend/backend.php
+++ b/backend/backend.php
@@ -50,7 +50,7 @@ require_once(SHARED.'/include/dbinit.php');
while (true) {
// TODO check first for builds that need to be resumed (and figure out how to resume things)
while (true) {
- $r=query('SELECT * FROM `builds` WHERE `backend`="'.$S['conf']['backend_id'].'" AND `status` IN ("queued","cancel","uploading","building","bundling") AND `failed`!="true" ORDER BY `ctime` ASC LIMIT 1');
+ $r=query('SELECT * FROM `builds` WHERE `backend`="'.$S['conf']['backend_id'].'" AND `status` IN ("queued","cancel","uploading","building","bundling") AND `flags` NOT LIKE "%f%" ORDER BY `ctime` ASC LIMIT 1');
if ($r->rowCount())
break;
else {