mirror of https://github.com/digint/btrbk
btrbk: bugfix: print correct time in end_transaction()
parent
b1f3936826
commit
6acea6a08d
|
@ -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
|
||||
|
||||
|
|
2
btrbk
2
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue