Commit b13b174e authored by Guido Gunther's avatar Guido Gunther
Browse files Make sure we return 1 on errors

The cleanup function might return 0. Check for the stamp to avoid that.
This makes the build fail if not all packages are available for
parent 18692e80
Pipeline #2411 passed with stage
in 13 seconds
......@@ -107,8 +107,10 @@ function cleanup_chroot()
umount "${basedir}/proc"
# existence of stamp indicates success
if [ -f "${stamp}" ] && [ -n "${build_tarball}" ]; then
if [ -f "${stamp}" ]; then
[ -z "${build_tarball}" ] || build_tarball
exit 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment