pull/116/head
Ian Kelling 2016-11-19 15:25:55 -08:00
parent da849b37ae
commit e981fdb885
1 changed files with 3 additions and 0 deletions

3
btrbk
View File

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