summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-07 20:38:04 +0200
committerErich Eckner <git@eckner.net>2018-09-07 20:38:04 +0200
commit62faa086b671fe85cbb78993e9c28fc5eb7935f2 (patch)
tree467c5f08a7950cd9c8ae6abe1f823d11315a24de /bin/return-assignment
parentc4e8230e9cee509d2aa22eab9720e89acc614afd (diff)
downloadbuilder-62faa086b671fe85cbb78993e9c28fc5eb7935f2.tar.xz
bin/return-assignment: make error message for electron bold
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment9
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 7185b97..d8c6028 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -221,16 +221,19 @@ if [ "$5" = 'ERROR' ]; then
# shellcheck disable=SC2119
{
# shellcheck disable=SC2154
- printf '%s is broken (says %s).' \
+ printf '%s is broken (says %s)' \
"$1" \
"${slave}"
+ if [ "$1" = 'electron' ]; then
+ printf -- ' - as usual'
+ fi
if [ -n "${rescheduled_packages}" ]; then
printf -- ' - I rescheduled:'
# shellcheck disable=SC2086
printf ' %s,' ${rescheduled_packages} | \
- sed 's/,$/./'
+ sed 's/,$//'
fi
- printf '\n'
+ printf '.\n'
} | \
irc_say
fi