mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-12-01 07:33:07 +00:00
Changed "Running (pid)" to "Server Running on (pid)"
This commit is contained in:
parent
d2c8c8d3cd
commit
12c84792e8
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@ if (restartRequested) //need to do this here because this needs to happen after
|
||||||
const string unableToStartMsg = "Unable to ascertain the executable location, you'll need to re-run the server manually.";
|
const string unableToStartMsg = "Unable to ascertain the executable location, you'll need to re-run the server manually.";
|
||||||
if (path != null) //path is probably just "Server", but in the context of the assembly, that's all you need to restart it.
|
if (path != null) //path is probably just "Server", but in the context of the assembly, that's all you need to restart it.
|
||||||
{
|
{
|
||||||
Console.WriteLine($"Running (pid): {System.Diagnostics.Process.Start(path)?.Id.ToString() ?? unableToStartMsg}");
|
Console.WriteLine($"Server Running on (pid): {System.Diagnostics.Process.Start(path)?.Id.ToString() ?? unableToStartMsg}");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
consoleLogger.Info(unableToStartMsg);
|
consoleLogger.Info(unableToStartMsg);
|
||||||
|
|
Loading…
Reference in a new issue