summaryrefslogtreecommitdiff
path: root/backend/modules/cleanup
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-05-09 20:43:49 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2011-05-09 20:43:49 +0200
commit0d962ca98690b5d1b5da945f9817a6d93d289252 (patch)
treeb60a9efcebcc52e194c16c3db9ff65c31e4598ef /backend/modules/cleanup
parent683065d12a92fa1b722a3fa42ca6a27e15672a0d (diff)
downloadacritoxinstaller-0d962ca98690b5d1b5da945f9817a6d93d289252.zip
acritoxinstaller-0d962ca98690b5d1b5da945f9817a6d93d289252.tar.gz
copy gfxoverlay to hd
Diffstat (limited to 'backend/modules/cleanup')
-rw-r--r--backend/modules/cleanup4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/modules/cleanup b/backend/modules/cleanup
index fe604a0..adced93 100644
--- a/backend/modules/cleanup
+++ b/backend/modules/cleanup
@@ -11,5 +11,9 @@ function cleanup()
umount "$TARGET" &>/dev/null
umount "/live/filesystem" &>/dev/null
rmdir "$TARGET" "/live/filesystem" &>/dev/null
+ if [ -d /live/filesystem.main ]; then
+ umount "/live/filesystem.main" &>/dev/null
+ rmdir "/live/filesystem.main" &>/dev/null
+ fi
}