From 31be9f6f20bac11120b8064c5a8ba78e4c713ade Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 15 Sep 2022 00:22:26 +0100 Subject: Fixed breaking if missing conf file --- src/bootstrap.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bootstrap.sh') 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 -- cgit v1.2.1