summaryrefslogtreecommitdiff
path: root/bin/get-assignment
diff options
context:
space:
mode:
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-xbin/get-assignment4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 926cc69..91b7b69 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -186,7 +186,9 @@ if [ -s "${work_dir}/forced-package-builds.${slave}" ]; then
} | \
mysql_run_query
)
- hand_out_assignment "${next_building}"
+ if [ -n "${next_building}" ]; then
+ hand_out_assignment "${next_building}"
+ fi
fi
fi