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" ]] ||
|
[[ "$FS_PARTS_UPDATE" != "yes" && "$FS_SWAP_UPDATE" != "yes" ]] ||
|
||||||
blkid | while read line; do
|
blkid | while read line; do
|
||||||
unset dev uuid devline devfstype TYPE UUID LABEL
|
unset dev uuid devline devfstype TYPE UUID LABEL
|
||||||
dev=${line/:*}
|
dev=${line/: *}
|
||||||
devline=${line/*:}
|
devline=${line/*: }
|
||||||
eval $devline
|
eval $devline
|
||||||
label=$LABEL
|
label=$LABEL
|
||||||
devfstype=$TYPE
|
devfstype=$TYPE
|
||||||
|
Loading…
Reference in New Issue
Block a user