From 8b67f33e0f643f21382e3d1523af1cad57d68d3a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 3 Apr 2020 09:38:17 +0200 Subject: bin/return-assignment: notify irc if package gets rescheduled and was broken before, too --- bin/return-assignment | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/return-assignment') 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}" -- cgit v1.2.3-70-g09d2