summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index b1a5ef6..bba5bdb 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -488,7 +488,7 @@ if [ "$6" = 'ERROR' ]; then
mysql_run_query
fi
- if ! ${was_broken_before}; then
+ if ! ${was_broken_before} || [ -n "${rescheduled_packages}" ]; then
# shellcheck disable=SC2119
{
printf '%s/%s ' \
@@ -502,6 +502,9 @@ if [ "$6" = 'ERROR' ]; then
else
printf 'is'
fi
+ if ${was_broken_before}; then
+ printf ' still'
+ fi
# shellcheck disable=SC2154
printf ' broken (says %s)' \
"${slave}"