From b93b915cc652e35bcf604fb9b4b244bc84e5527c Mon Sep 17 00:00:00 2001 From: Senthil Date: Thu, 17 Mar 2016 11:05:49 -0700 Subject: [PATCH] Fix error check and verbose --- src/corehost/cli/fxr/fx_muxer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corehost/cli/fxr/fx_muxer.cpp b/src/corehost/cli/fxr/fx_muxer.cpp index 4cc2f60fe..b371832bc 100644 --- a/src/corehost/cli/fxr/fx_muxer.cpp +++ b/src/corehost/cli/fxr/fx_muxer.cpp @@ -225,7 +225,7 @@ bool fx_muxer_t::resolve_sdk_dotnet_path(const pal::string_t& own_dir, pal::stri /* static */ int fx_muxer_t::execute(const int argc, const pal::char_t* argv[]) { - trace::error(_X("--- Executing in muxer mode...")); + trace::verbose(_X("--- Executing in muxer mode...")); pal::string_t own_path; @@ -343,7 +343,7 @@ int fx_muxer_t::execute(const int argc, const pal::char_t* argv[]) } append_path(&sdk_dotnet, _X("dotnet.dll")); - if (!pal::file_exists(_X("dotnet.dll"))) + if (!pal::file_exists(sdk_dotnet)) { trace::error(_X("Could not find dotnet.dll at [%s]"), sdk_dotnet.c_str()); return StatusCode::LibHostSdkFindFailure;