Cleanup bootstrap/overlayfs when we fail a build for some reason

This commit is contained in:
Kris Moore
2020-05-07 12:55:31 -04:00
parent 0511392a3b
commit e6af13d3ef

View File

@@ -6,6 +6,8 @@ exit_err() {
else
EXIT_CODE=1
fi
del_overlayfs
del_bootstrapdir
echo "ERROR: $1" >&2
exit $EXIT_CODE
}