diff options
author | Erich Eckner <git@eckner.net> | 2018-09-07 20:38:04 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-07 20:38:04 +0200 |
commit | 62faa086b671fe85cbb78993e9c28fc5eb7935f2 (patch) | |
tree | 467c5f08a7950cd9c8ae6abe1f823d11315a24de /bin/return-assignment | |
parent | c4e8230e9cee509d2aa22eab9720e89acc614afd (diff) | |
download | builder-62faa086b671fe85cbb78993e9c28fc5eb7935f2.tar.xz |
bin/return-assignment: make error message for electron bold
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-x | bin/return-assignment | 9 |
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 |