rpc: always set the update field in update on sucess
Coverity 205416
This commit is contained in:
parent
411f1b0ee3
commit
3c849188ab
|
@ -2617,6 +2617,7 @@ namespace cryptonote
|
||||||
{
|
{
|
||||||
RPC_TRACKER(update);
|
RPC_TRACKER(update);
|
||||||
|
|
||||||
|
res.update = false;
|
||||||
if (m_core.offline())
|
if (m_core.offline())
|
||||||
{
|
{
|
||||||
res.status = "Daemon is running offline";
|
res.status = "Daemon is running offline";
|
||||||
|
|
Loading…
Reference in New Issue