diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/return-assignment | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bin/return-assignment b/bin/return-assignment index 2aa236d..e15c471 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -234,10 +234,16 @@ if [ "$6" = 'ERROR' ]; then # shellcheck disable=SC2119 { - # shellcheck disable=SC2154 - printf '%s/%s is broken (says %s)' \ + printf '%s/%s ' \ "$5" \ - "$1" \ + "$1" + if [ "${1%s}s" = "$1" ]; then + printf 'are' + else + printf 'is' + fi + # shellcheck disable=SC2154 + printf ' broken (says %s)' \ "${slave}" if [ "$1" = 'electron' ]; then printf -- ' - as usual' |