mirror of
https://github.com/truenas/scale-build.git
synced 2025-12-24 13:00:20 +00:00
Cleanup bootstrap/overlayfs when we fail a build for some reason
This commit is contained in:
@@ -6,6 +6,8 @@ exit_err() {
|
||||
else
|
||||
EXIT_CODE=1
|
||||
fi
|
||||
del_overlayfs
|
||||
del_bootstrapdir
|
||||
echo "ERROR: $1" >&2
|
||||
exit $EXIT_CODE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user