pull/116/merge
Ian Kelling 2017-05-12 19:48:37 +00:00 committed by GitHub
commit 6abff8d10f
1 changed files with 3 additions and 0 deletions

3
btrbk
View File

@ -2266,6 +2266,9 @@ sub get_receive_targets($$;@)
elsif(defined($received_uuid) && ($_->{node}{uuid} eq $received_uuid)) { elsif(defined($received_uuid) && ($_->{node}{uuid} eq $received_uuid)) {
$matched = 'src.received_uuid == target.uuid'; $matched = 'src.received_uuid == target.uuid';
} }
elsif(defined($received_uuid) && ($_->{node}{uuid} eq $received_uuid)) {
$matched = 'reverse by-uuid';
}
next unless($matched); next unless($matched);
TRACE "get_receive_targets: Found receive target ($matched): $_->{SUBVOL_PATH}"; TRACE "get_receive_targets: Found receive target ($matched): $_->{SUBVOL_PATH}";