Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment12
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'