summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-02-14 08:42:00 -0200
committerRenato Botelho <renato@netgate.com>2017-02-14 08:42:00 -0200
commit5371504f3f078307d57e5ba04943ecc43436ad63 (patch)
treede07ba92119b66ee314f46ab877603f24dd5369c /tools/builder_common.sh
parent047620e42940dae670effaf971f58202a1fb4986 (diff)
downloadpfsense-5371504f3f078307d57e5ba04943ecc43436ad63.zip
pfsense-5371504f3f078307d57e5ba04943ecc43436ad63.tar.gz
Remove $MNT after use
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 1e2293e..091266a 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -866,6 +866,9 @@ awk '
# Restore default action
trap "-" 1 2 15 EXIT
+ chflags -R noschg $MNT
+ rm -rf $MNT
+
# Check each image and ensure that they are over
# 3 megabytes. If either image is under 20 megabytes
# in size then error out.
OpenPOWER on IntegriCloud