diff options
author | Erich Eckner <git@eckner.net> | 2017-11-16 11:20:20 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-16 11:20:20 +0100 |
commit | 252c091b42d1c4e03563e439e333706d366dcb96 (patch) | |
tree | 8dccf53df3dd3fe78c735a7c54169b163511b6e9 /bin/return-assignment | |
parent | d11744ecfb62b87eec153efb0520d806087edd87 (diff) | |
download | builder-252c091b42d1c4e03563e439e333706d366dcb96.tar.xz |
bin/return-assignment: correct exit code on ERROR and outdated package
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-x | bin/return-assignment | 2 |
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 |