0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-24 20:25:18 +00:00

Changed "Running (pid)" to "Server Running on (pid)"

This commit is contained in:
TheUbMunster 2022-07-28 17:57:56 -06:00
parent d2c8c8d3cd
commit 12c84792e8

View file

@ -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.";
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
consoleLogger.Info(unableToStartMsg);