filesystem: fix in blkid parsing

This commit is contained in:
Silvan Calarco 2015-06-16 15:14:09 +02:00
parent 081784b702
commit 7fd882da85

View File

@ -167,8 +167,8 @@ let "swapon = 0"
[[ "$FS_PARTS_UPDATE" != "yes" && "$FS_SWAP_UPDATE" != "yes" ]] ||
blkid | while read line; do
unset dev uuid devline devfstype TYPE UUID LABEL
dev=${line/:*}
devline=${line/*:}
dev=${line/: *}
devline=${line/*: }
eval $devline
label=$LABEL
devfstype=$TYPE