diff --git a/dietpi/dietpi-drive_manager b/dietpi/dietpi-drive_manager index 15610744b9..aea801fba4 100755 --- a/dietpi/dietpi-drive_manager +++ b/dietpi/dietpi-drive_manager @@ -574,7 +574,7 @@ Do you wish to ignore this warning, and, mount the drive regardless?" || return # - Partition wipe must be done 1st, else UUIDs are still reported. for i in "/dev/${aDRIVE_SOURCE_DEVICE[$MENU_DRIVE_INDEX]}"?* do - [[ $i == '/dev/mmcblk'[0-9]'boot'[0-9] ]] && continue # Skip /dev/mmcblk0boot0 SPI storage devices on e.g. Odroid N2 + [[ $i == '/dev/mmcblk'[0-9]'boot'[0-9] ]] && continue # Skip /dev/mmcblk0boot0 special boot sector eMMC partitions on e.g. Odroid N2 [[ -b $i ]] || continue local target=$(findmnt -Ufnro TARGET -S "$i") [[ $target ]] && { Unmount_Drive "$target" || return 1; }