summaryrefslogtreecommitdiffstats
path: root/tasks/cleanup.task.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/cleanup.task.sh')
-rw-r--r--tasks/cleanup.task.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tasks/cleanup.task.sh b/tasks/cleanup.task.sh
new file mode 100644
index 0000000..1f25878
--- /dev/null
+++ b/tasks/cleanup.task.sh
@@ -0,0 +1,6 @@
+cleanup() {
+ # make sure all bindmounts have been umounted
+ echo " Umount temporary (bind)mounts"
+ destroyBindmounts
+ touch /tmp/.broot.exit
+}