Skip to content

Commit cda15dd

Browse files
authored
installer: delete empty mount point if it exists
Fixes #1086
1 parent 147b2c7 commit cda15dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Installer/scripts/postinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fi
9191

9292
echo "Unmounting ESP..."
9393
umount "$EFI_ROOT_DIR" || true
94-
rm -f "$EFI_ROOT_DIR"
94+
rmdir "$EFI_ROOT_DIR" || true
9595

9696
if [ -f "$INSTALLER_TEMP/faketmp" ]; then
9797
rmdir -p "$DEST_TMP" || true

0 commit comments

Comments
 (0)