File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- version=2.0.16
3
+ version=2.0.17
4
4
5
5
# auto run grub-install if grub detected
6
6
grub_auto=1
@@ -525,7 +525,7 @@ src_disk_size=$(echo "$src_partition_table" \
525
525
line=$( fdisk -l /dev/$src_disk | grep " Disk identifier:" )
526
526
src_disk_ID=${line#* x}
527
527
528
- src_mount_table=$( findmnt -o source,target -n -l -b \
528
+ src_mount_table=$( findmnt -o source,target -n -l \
529
529
| grep -e " ^/dev/$src_disk " -e " ^$src_root_dev " | tr -s " " )
530
530
n_mounts=$( echo " $src_mount_table " | wc -l)
531
531
@@ -923,7 +923,7 @@ dst_disk_size=$(echo "$dst_partition_table" \
923
923
| grep " ^/dev/$dst_disk " | cut -d " :" -f 2 | tr -d ' s' )
924
924
dst_root_dev=/dev/${dst_part_base}${root_part_num}
925
925
926
- dst_mount_table=$( findmnt -o source,target -n -l -b \
926
+ dst_mount_table=$( findmnt -o source,target -n -l \
927
927
| grep " ^/dev/$dst_disk " | tr -s " " )
928
928
929
929
dst_fdisk_table=$( fdisk -l /dev/$dst_disk | grep " ^/dev/" )
You can’t perform that action at this time.
0 commit comments