summaryrefslogtreecommitdiff
path: root/src/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap.sh')
-rw-r--r--src/bootstrap.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap.sh b/src/bootstrap.sh
index d82380d..7215d9b 100644
--- a/src/bootstrap.sh
+++ b/src/bootstrap.sh
@@ -58,6 +58,7 @@ bootstrap () {
if [ -e ${SYSROOT} ] && [ "$(ls -1 ${SYSROOT})" != "0" ]; then
if prompt_question "${WHITE}System already exists on ${SYSROOT}, clear?"; then
+ umount -r ${SYSROOT}/*
rm -rf ${SYSROOT}/*
fi
fi