Skip to content

Commit 87ba676

Browse files
author
Mateo Torres Ruiz
committed
Update get_dotnet_self_registered_config_location()
1 parent 1ab21b9 commit 87ba676

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/native/corehost/hostmisc/pal.unix.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,10 +427,7 @@ bool pal::get_dotnet_self_registered_dir(pal::string_t* recv)
427427
}
428428
// ***************************
429429

430-
pal::string_t install_location_file_path;
431-
get_dotnet_self_registered_config_location(&install_location_file_path);
432-
// ***************************
433-
430+
pal::string_t install_location_file_path = get_dotnet_self_registered_config_location();
434431
trace::verbose(_X("Looking for install_location file in '%s'."), install_location_file_path.c_str());
435432
FILE* install_location_file = pal::file_open(install_location_file_path, "r");
436433
if (install_location_file == nullptr)

0 commit comments

Comments
 (0)