btrbk: fix action "usage"

Regression from:

   b658fba08c btrbk: print snapdir and targets for action "usage"
pull/411/head
Axel Burri 2021-08-18 00:57:56 +02:00
parent 3cf69f3537
commit eccb24ecd7
1 changed files with 1 additions and 1 deletions

2
btrbk
View File

@ -6536,7 +6536,7 @@ MAIN:
foreach my $svol (vinfo_subsection($sroot, 'subvolume')) { foreach my $svol (vinfo_subsection($sroot, 'subvolume')) {
$push_data->(vinfo_snapshot_root($svol), "source"); $push_data->(vinfo_snapshot_root($svol), "source");
foreach my $droot (vinfo_subsection($svol, 'target')) { foreach my $droot (vinfo_subsection($svol, 'target')) {
$push_data->(vinfo_snapshot_root($droot), "target"); $push_data->($droot, "target");
} }
} }
} }