diff --git a/ChangeLog b/ChangeLog index 9ed09a5..b168b14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ btrbk-current * Add "snapshot" command (close #150). * Add "--preserve-snapshots" and "--preserve-backups" options. * Bugfix: ssh_filter_btrbk: accept mbuffer command (stream_buffer). + * Bugfix: print correct (end-)time in transaction_log. btrbk-0.25.1 diff --git a/btrbk b/btrbk index 6452907..ba55515 100755 --- a/btrbk +++ b/btrbk @@ -460,7 +460,7 @@ sub end_transaction($$) die("end_transaction() while no transaction is running") unless($current_transaction); foreach (@$current_transaction) { die("end_transaction() has different type") unless($_->{type} eq $type); - action($type, %$_, status => $status, duration => ($dryrun ? undef : ($time - $_->{time}))); + action($type, %$_, status => $status, time => $time, duration => ($dryrun ? undef : ($time - $_->{time}))); } $current_transaction = undef; }