From 4813679d86b9628f428976929552523521bc541b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 8 Oct 2018 09:06:51 +0200 Subject: bin/get-assignment: double check, that next_building is not empty --- bin/get-assignment | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2