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:
authorErich Eckner <git@eckner.net>2017-11-16 11:20:20 +0100
committerErich Eckner <git@eckner.net>2017-11-16 11:20:20 +0100
commit252c091b42d1c4e03563e439e333706d366dcb96 (patch)
tree8dccf53df3dd3fe78c735a7c54169b163511b6e9 /bin/return-assignment
parentd11744ecfb62b87eec153efb0520d806087edd87 (diff)
bin/return-assignment: correct exit code on ERROR and outdated package
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 1acf3fd..c9e5155 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -50,7 +50,7 @@ if [ "$5" = 'ERROR' ]; then
if ! grep -qxF "$1 $2 $3 $4" "${work_dir}/build-list" ||
! [ -f "${work_dir}/package-states/$1.$2.$3.$4.locked" ]; then
# too late, package already outdated -> ignore error report
- exit 0
+ exit 2
fi
# shellcheck disable=SC2154