updates: s/monerod/monero/ for the main download
Also print download success message as global log
This commit is contained in:
parent
6a5dfb88d2
commit
9f17b1a30f
1 changed files with 2 additions and 2 deletions
|
@ -1088,7 +1088,7 @@ namespace cryptonote
|
||||||
//-----------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------
|
||||||
bool core::check_updates()
|
bool core::check_updates()
|
||||||
{
|
{
|
||||||
static const char software[] = "monerod";
|
static const char software[] = "monero";
|
||||||
static const char subdir[] = "cli"; // because it can never be simple
|
static const char subdir[] = "cli"; // because it can never be simple
|
||||||
#ifdef BUILD_TAG
|
#ifdef BUILD_TAG
|
||||||
static const char buildtag[] = BOOST_PP_STRINGIZE(BUILD_TAG);
|
static const char buildtag[] = BOOST_PP_STRINGIZE(BUILD_TAG);
|
||||||
|
@ -1141,7 +1141,7 @@ namespace cryptonote
|
||||||
MCERROR("updates", "Download from " << url << " does not match the expected hash");
|
MCERROR("updates", "Download from " << url << " does not match the expected hash");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
MCINFO("updates", "New version downloaded to " << path);
|
MGINFO("New version downloaded to " << path);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue