Skip to content

Commit

Permalink
UBUNTU: [Packaging] correctly propagate errors during updateconfigs
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
  • Loading branch information
Andrea Righi committed Nov 28, 2022
1 parent 7b62016 commit 888190a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debian/scripts/misc/kernelconfig
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ for flavour in ${FLAVOURS}; do
conf_file=${arch}-config.flavour.${flavour}

echo "Running config-check for ${arch}-${flavour}"
(python3 ${bindir}/annotations -f ${confdir}/annotations --arch ${arch} --flavour ${flavour} --check CONFIGS/${conf_file} | tee -a ${log_file}) ||
let "fail=$fail+1"
python3 ${bindir}/annotations -f ${confdir}/annotations --arch ${arch} --flavour ${flavour} --check CONFIGS/${conf_file} | tee -a ${log_file}
[ ${PIPESTATUS[0]} -ne 0 ] && let "fail=$fail+1"
done

rc=0
Expand Down

0 comments on commit 888190a

Please sign in to comment.