Fixed incorrect console message

This commit is contained in:
Bryan Roe 2021-01-26 21:53:20 -08:00
parent 2f4d584c83
commit e2201b1d9f
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);