mirror of
https://git.proxmox.com/git/pve-guest-common
synced 2025-08-14 21:47:31 +00:00
print snapshot tree: reduce indentation
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
295a6359db
commit
60aeee5fb1
@ -160,7 +160,7 @@ sub print_snapshot_tree {
|
|||||||
printf("%s %-${len}s %-23s %s\n", $prefix, $root, $timestring, $description);
|
printf("%s %-${len}s %-23s %s\n", $prefix, $root, $timestring, $description);
|
||||||
|
|
||||||
if ($e->{children}) {
|
if ($e->{children}) {
|
||||||
$prefix = " $prefix";
|
$prefix = " $prefix";
|
||||||
foreach my $child (sort $snaptimesort @{$e->{children}}) {
|
foreach my $child (sort $snaptimesort @{$e->{children}}) {
|
||||||
$snapshottree_weak->($prefix, $child, $snapshots);
|
$snapshottree_weak->($prefix, $child, $snapshots);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user