summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmakechrootpkg1
1 files changed, 1 insertions, 0 deletions
diff --git a/makechrootpkg b/makechrootpkg
index c1e78d9..fa1070a 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -241,6 +241,7 @@ done
if [ -e "${copydir}/build/BUILD_FAILED" ]; then
echo "Build failed, check $copydir/build"
rm "${copydir}/build/BUILD_FAILED"
+ exit 1
else
rm -rf "${copydir}"/build/*
fi