From 252c091b42d1c4e03563e439e333706d366dcb96 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 16 Nov 2017 11:20:20 +0100 Subject: bin/return-assignment: correct exit code on ERROR and outdated package --- bin/return-assignment | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2