Skip to content

Commit

Permalink
wip: properly cache link
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Oct 24, 2023
1 parent f5c7f49 commit eb8ebe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Ravada/VM.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2535,7 +2535,7 @@ sub _follow_link($self, $file) {
$self->{_is_link}->{$file2} = $link;
}
}
return $file2 if !exists $self->{_is_link}->{$file2} || !$self->{_is_link}->{$file2};
$self->{_is_link}->{$file2} = $file2 if !exists $self->{_is_link}->{$file2};
return $self->{_is_link}->{$file2};
}

Expand Down

0 comments on commit eb8ebe8

Please sign in to comment.