summaryrefslogtreecommitdiff
path: root/src/bootstrap.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-09-15 00:22:26 +0100
committerdavidovski <david@davidovski.xyz>2022-09-15 00:22:26 +0100
commit31be9f6f20bac11120b8064c5a8ba78e4c713ade (patch)
tree6712847c8e81369458c18920bda2d72bb48a1099 /src/bootstrap.sh
parent62ac6c319289550931696346ce08f2c0ed70fc0d (diff)
Fixed breaking if missing conf file
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