Fix retrieve device label
Signed-off-by: Evgeniy Klemin <evgeniy.klemin@gmail.com>
This commit is contained in:
1 parent
21f4be9734
commit
759ec55f64
1 file changed
+3
@@ -381,6 +381,9 @@ func parsePartLabel(output string) string {
|
||||
if v, ok := m["ID_PART_ENTRY_NAME"]; ok {
|
||||
return v
|
||||
}
|
||||
if v, ok := m["PARTNAME"]; ok {
|
||||
return v
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user