Skip to content

Commit

Permalink
Fix display error in selection dialog if disk has no partitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
happymab committed Jun 8, 2024
1 parent b064ef9 commit 199d8c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions usr/lib/tik/lib/tik-functions
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ get_disk() {
part_info="${part_info}unknown(${part_size})"
fi
done
if [[ ${part_count} -eq 0 ]]; then
part_info="none"
fi
if [[ "${tik_install_disk_part}" == "${disk_device}"* ]]; then
# ignore install source device
continue
Expand Down

0 comments on commit 199d8c9

Please sign in to comment.