summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index aaeb7c5..44a071d 100644
--- a/functions
+++ b/functions
@@ -943,7 +943,7 @@ UMOUNT_DIRS=
umount_exit_function () {
for dir in $UMOUNT_DIRS; do
- umount "$TARGET/${dir#/}" || true
+ ( cd / ; umount "$TARGET/${dir#/}" ) || true
done
}