summaryrefslogtreecommitdiffstats
path: root/tools
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:38 -0200
commit3b07c2b73d83962da851807868083a6860b92b7f (patch)
treeab2e926d46b83cee18b318c47c6ae88295ca44af /tools
parentcc423d0fa7e16c8c24b9de32ee11092b8dcae21a (diff)
downloadpfsense-3b07c2b73d83962da851807868083a6860b92b7f.zip
pfsense-3b07c2b73d83962da851807868083a6860b92b7f.tar.gz
Remove $MNT after use
Diffstat (limited to 'tools')
-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