filesystem: fix in blkid parsing
This commit is contained in:
parent
081784b702
commit
7fd882da85
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user