Fixed incorrect console message
Bryan Roe committed
Jan 26, 2021 at 21:53 UTC
e2201b1d9f71fb97cbaf4e0afd958b3ab1bf230d
2 files changed
+2
-2
agents/meshcore.js
+1
-1
@@ -3870,7 +3870,7 @@ function bsd_execv(name, agentfilename, sessionid) {
3870
arg.pointerBuffer().copy(args.toBuffer(), i * require('_GenericMarshal').PointerSize);
3871
}
3872
3873
- if (sessionid != null) { sendConsoleText('Restarting service via service-manager', sessionid) }
3873
+ if (sessionid != null) { sendConsoleText('Restarting service via execv()', sessionid) }
3874
libc.execv(path, args);
3875
if (sessionid != null) { sendConsoleText('Self Update failed because execv() failed', sessionid) }
3876
sendAgentMessage('Self Update failed because execv() failed', 3);
agents/recoverycore.js
+1
-1
@@ -198,7 +198,7 @@ function bsd_execv(name, agentfilename, sessionid) {
198
arg.pointerBuffer().copy(args.toBuffer(), i * require('_GenericMarshal').PointerSize);
199
}
200
201
- if (sessionid != null) { sendConsoleText('Restarting service via service-manager', sessionid) }
201
+ if (sessionid != null) { sendConsoleText('Restarting service via execv()', sessionid) }
202
libc.execv(path, args);
203
if (sessionid != null) { sendConsoleText('Self Update failed because execv() failed', sessionid) }
204
sendAgentMessage('Self Update failed because execv() failed', 3);