From 6c2d56d6214e6ade4041d8a1a6053ca1bb568db7 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Thu, 21 Sep 2017 12:39:48 +0200 Subject: [PATCH] btrbk: action "clean": dont list failed deletes in summary --- ChangeLog | 1 + btrbk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 77cb9c6..22ba248 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/btrbk b/btrbk index 80c595d..25c9713 100755 --- a/btrbk +++ b/btrbk @@ -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");