Skip to content

Commit

Permalink
Update get_dotnet_self_registered_config_location()
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateo Torres Ruiz committed Aug 18, 2021
1 parent 1ab21b9 commit 87ba676
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/native/corehost/hostmisc/pal.unix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,7 @@ bool pal::get_dotnet_self_registered_dir(pal::string_t* recv)
}
// ***************************

pal::string_t install_location_file_path;
get_dotnet_self_registered_config_location(&install_location_file_path);
// ***************************

pal::string_t install_location_file_path = get_dotnet_self_registered_config_location();
trace::verbose(_X("Looking for install_location file in '%s'."), install_location_file_path.c_str());
FILE* install_location_file = pal::file_open(install_location_file_path, "r");
if (install_location_file == nullptr)
Expand Down

0 comments on commit 87ba676

Please sign in to comment.