Avoid logging to stderr if core_servicing location is empty (dotnet/core-setup#4110)
authorSteve Harter <steveharter@users.noreply.github.com>
Wed, 2 May 2018 17:38:33 +0000 (12:38 -0500)
committerGitHub <noreply@github.com>
Wed, 2 May 2018 17:38:33 +0000 (12:38 -0500)
Commit migrated from https://github.com/dotnet/core-setup/commit/f6bf0a83c66883fd1380fe0c3ce9b6d1e112f564

src/installer/corehost/cli/deps_resolver.cpp

index e7a101c..48da225 100644 (file)
@@ -721,7 +721,7 @@ bool deps_resolver_t::resolve_probe_dirs(
     std::unordered_set<pal::string_t> items;
 
     pal::string_t core_servicing = m_core_servicing;
-    pal::realpath(&core_servicing);
+    pal::realpath(&core_servicing, true);
 
     // Filter out non-serviced assets so the paths can be added after servicing paths.
     pal::string_t non_serviced;