Do not abort on blkid error

This commit is contained in:
Jan Schneider 2020-04-04 12:14:23 +02:00
parent bf08fafc58
commit 1d19a414a3
1 changed files with 2 additions and 1 deletions

View File

@ -343,7 +343,8 @@ proc ::rmupdate::get_partitions {{device ""}} {
if [catch {
set data3 [exec /sbin/blkid $part_dev]
} err] {
error "Command blkid failed for device ${part_dev}: ${err}"
write_log 1 "Command blkid failed for device ${part_dev}: ${err}"
#error "Command blkid failed for device ${part_dev}: ${err}"
}
foreach d3 [split $data3 "\n"] {
if {[regexp {LABEL="([^"]+)"} $d3 match lab]} {