Skip to content

Commit

Permalink
Always print stats, regardless of whether --dry-run or --verbose options
Browse files Browse the repository at this point in the history
are specified.
  • Loading branch information
struanb committed Oct 28, 2013
1 parent 3f3d234 commit 486bf8c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions brackup
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,8 @@ if (my ($stats, $backup_file, $error_returned) = eval { $backup->backup($meta_di
warn "Backup complete.\n" if $opt_verbose;
}

if ($opt_dryrun || $opt_verbose) {
$stats->print;
}
# Always print stats. They're terribly useful.
$stats->print;

if (defined $stats_file) {
if ($stats_file eq '') {
Expand Down

0 comments on commit 486bf8c

Please sign in to comment.