diff options
Diffstat (limited to 'kflash.sh')
-rwxr-xr-x | kflash.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -191,7 +191,7 @@ probe_device() { local part_idx=${flash_part[0]} local part_label=${flash_part[1]} - local part_dev=/dev/${partdev}${i} + local part_dev=/dev/${partdev}${part_idx} local label=$(blkid ${part_dev} -s PARTLABEL | sed 's/.*PARTLABEL="\([^"]*\)"$/\1/') if [[ $label != ${part_label} ]] ; then |