print snapshot tree: reduce indentation

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-10-24 16:56:54 +02:00
parent 295a6359db
commit 60aeee5fb1

View File

@ -160,7 +160,7 @@ sub print_snapshot_tree {
printf("%s %-${len}s %-23s %s\n", $prefix, $root, $timestring, $description);
if ($e->{children}) {
$prefix = " $prefix";
$prefix = " $prefix";
foreach my $child (sort $snaptimesort @{$e->{children}}) {
$snapshottree_weak->($prefix, $child, $snapshots);
}