fix finding multiple partitions on the same disk

This commit is contained in:
ading2210 2023-10-07 22:41:49 -07:00
parent 3f996e63a9
commit 06637e01d4
1 changed files with 3 additions and 1 deletions

View File

@ -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
}