mirror of https://github.com/digint/btrbk
btrbk: remove warnings on superfluous "btrfs subvolume show" output
Silently accept compatible versions of btrfs-progs. Required keys are being checked below, no need to warn here. e.g. btrfs-progs >= v5.2.1 prints: Quota group: 0/258 Limit referenced: - Limit exclusive: 1.00GiB Usage referenced: 16.00KiB Usage exclusive: 16.00KiBpull/293/head
parent
7d656540d7
commit
74be074e6f
2
btrbk
2
btrbk
|
@ -1001,7 +1001,7 @@ sub btrfs_subvolume_show($;@)
|
||||||
if($trans{$key}) {
|
if($trans{$key}) {
|
||||||
$detail{$trans{$key}} = $value;
|
$detail{$trans{$key}} = $value;
|
||||||
} else {
|
} else {
|
||||||
WARN "Failed to parse subvolume detail \"$key: $value\" for: $vol->{PRINT}";
|
DEBUG "Ignoring subvolume detail \"$key: $value\" for: $vol->{PRINT}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DEBUG "Parsed " . scalar(keys %detail) . " subvolume detail items: $vol->{PRINT}";
|
DEBUG "Parsed " . scalar(keys %detail) . " subvolume detail items: $vol->{PRINT}";
|
||||||
|
|
Loading…
Reference in New Issue