btrbk: action "clean": dont list failed deletes in summary

pull/185/merge
Axel Burri 2017-09-21 12:39:48 +02:00
parent b8a8bc917d
commit 6c2d56d621
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ btrbk-current
* Bugfix: ssh_filter_btrbk: accept mbuffer command (stream_buffer).
* Bugfix: print correct (end-)time in transaction_log.
* Bugfix: check path when expanding wildcards (close #181).
* Bugfix: never show failed deletes in summary (close #183).
btrbk-0.25.1

2
btrbk
View File

@ -4979,7 +4979,6 @@ MAIN:
if($target_vol->{node}{received_uuid} eq '-') {
DEBUG "Found incomplete target subvolume: $target_vol->{PRINT}";
push(@delete, $target_vol);
push @out, "--- $target_vol->{PRINT}";
}
}
my $ret;
@ -5002,6 +5001,7 @@ MAIN:
INFO "Deleted $ret incomplete backups in: $droot->{PRINT}/$snapshot_name.*";
$droot->{SUBVOL_DELETED} //= [];
push @{$droot->{SUBVOL_DELETED}}, @delete;
push @out, map("--- $_->{PRINT}", @delete);
}
else {
ABORTED($droot, "Failed to delete incomplete target subvolume");