btrbk: archive: always print "[-]" if no action was performed for target

pull/204/merge
Axel Burri 2018-02-14 00:12:36 +01:00
parent 8610e75459
commit 5651c96e4e
1 changed files with 4 additions and 2 deletions

6
btrbk
View File

@ -4787,9 +4787,10 @@ MAIN:
if($droot->{CONFIG}->{UNRECOVERABLE}) {
push(@unrecoverable, $droot->{CONFIG}->{UNRECOVERABLE});
}
if(@subvol_out) {
push @out, "$sroot->{PRINT}/$sroot->{CONFIG}->{snapshot_name}.*", @subvol_out, "";
unless(@subvol_out) {
push @subvol_out, "[-] $droot->{PRINT}/$sroot->{CONFIG}->{snapshot_name}.*";
}
push @out, "$sroot->{PRINT}/$sroot->{CONFIG}->{snapshot_name}.*", @subvol_out, "";
}
}
@ -4804,6 +4805,7 @@ MAIN:
"--- deleted subvolume",
"*** received subvolume (non-incremental)",
">>> received subvolume (incremental)",
"[-] no action",
],
);