summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/return-assignment3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index f8f5546..553247c 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -150,7 +150,8 @@ if [ "$5" = 'ERROR' ]; then
printf 'COMMIT;\n'
fi
printf 'UPDATE `build_assignments`'
- printf ' SET `build_assignments`.`is_broken`=1'
+ printf ' SET `build_assignments`.`is_broken`=1,'
+ printf '`build_assignments`.`priority`=0'
printf ' WHERE `build_assignments`.`id`=from_base64("%s");\n' \
"$(
printf '%s' "${build_assignment_id}" | \