From e2201b1d9f71fb97cbaf4e0afd958b3ab1bf230d Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Tue, 26 Jan 2021 21:53:20 -0800 Subject: [PATCH] Fixed incorrect console message --- agents/meshcore.js | 2 +- agents/recoverycore.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agents/meshcore.js b/agents/meshcore.js index f2889d0a..b3e3d989 100644 --- a/agents/meshcore.js +++ b/agents/meshcore.js @@ -3870,7 +3870,7 @@ function bsd_execv(name, agentfilename, sessionid) { arg.pointerBuffer().copy(args.toBuffer(), i * require('_GenericMarshal').PointerSize); } - if (sessionid != null) { sendConsoleText('Restarting service via service-manager', sessionid) } + if (sessionid != null) { sendConsoleText('Restarting service via execv()', sessionid) } libc.execv(path, args); if (sessionid != null) { sendConsoleText('Self Update failed because execv() failed', sessionid) } sendAgentMessage('Self Update failed because execv() failed', 3); diff --git a/agents/recoverycore.js b/agents/recoverycore.js index 7f35e68f..9d951380 100644 --- a/agents/recoverycore.js +++ b/agents/recoverycore.js @@ -198,7 +198,7 @@ function bsd_execv(name, agentfilename, sessionid) { arg.pointerBuffer().copy(args.toBuffer(), i * require('_GenericMarshal').PointerSize); } - if (sessionid != null) { sendConsoleText('Restarting service via service-manager', sessionid) } + if (sessionid != null) { sendConsoleText('Restarting service via execv()', sessionid) } libc.execv(path, args); if (sessionid != null) { sendConsoleText('Self Update failed because execv() failed', sessionid) } sendAgentMessage('Self Update failed because execv() failed', 3);