Nicer looking exit when blockchain.bin is found

Do not print the exception message, and write the important bit
in red, since people will only read the last line otherwise.
This commit is contained in:
moneromooo-monero
2015-12-31 17:09:00 +00:00
parent ac7d27d4f9
commit 1e07110a7a
3 changed files with 25 additions and 31 deletions

View File

@@ -118,7 +118,8 @@ bool t_daemon::run(bool interactive)
try
{
mp_internals->core.run();
if (!mp_internals->core.run())
return false;
mp_internals->rpc.run();
daemonize::t_command_server* rpc_commands;