aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfunctions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.sh b/functions.sh
index cb27a57..49faaf8 100755
--- a/functions.sh
+++ b/functions.sh
@@ -742,9 +742,10 @@ function unmountingPartitions() {
done
else
if [ ${MOUNTED_BOOT:=false} = true ]; then
+ umount "${BUILD_PATH}/boot/EFI"
udisksctl unmount -b ${BOOTP}
if [ 0 -ne ${?} ]; then
- error "line ${LINENO} error unmounting ${BOOT}..."
+ error "line ${LINENO} error unmounting ${BOOTP}..."
fi
sync
sleep 4s