fix finding multiple partitions on the same disk
This commit is contained in:
parent
3f996e63a9
commit
06637e01d4
|
@ -39,7 +39,9 @@ find_rootfs_partitions() {
|
|||
if [ ! "${partitions}" ]; then
|
||||
continue
|
||||
fi
|
||||
echo "${disk}${partitions}"
|
||||
for partition in $partitions; do
|
||||
echo "${disk}${partition}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue